Subversion Repositories SmartDukaan

Rev

Rev 21044 | Rev 21090 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21044 Rev 21063
Line 7293... Line 7293...
7293
    wh.referenceNumber =  get_next_invoice_number(OrderType.WALLETCREDIT)
7293
    wh.referenceNumber =  get_next_invoice_number(OrderType.WALLETCREDIT)
7294
    wh.description = "Wallet Credited"
7294
    wh.description = "Wallet Credited"
7295
    
7295
    
7296
    wallet.amount += amount
7296
    wallet.amount += amount
7297
    session.commit()
7297
    session.commit()
7298
    mail("cnc.center@shop2020.in", "5h0p2o2o", [ "kshitij.sood@shop2020.in", "digamber.chauhan@spiceretail.co.in","parveen.mittal@spiceretail.co.in","pardeep.panwar@spiceretail.co.in","adarsh.verma@spiceretail.co.in","j.p.gupta@shop2020.in", "rajneesh.arora@shop2020.in", "amit.tyagi@spiceretail.co.in"] , company.name + " wallet topped up by " +  str(amount) + " rupees.", "", [], [], [])
7298
    mail("cnc.center@shop2020.in", "5h0p2o2o", [ "kshitij.sood@shop2020.in","pardeep.panwar@spiceretail.co.in","adarsh.verma@spiceretail.co.in","j.p.gupta@shop2020.in", "rajneesh.arora@shop2020.in", "amit.tyagi@spiceretail.co.in"] , company.name + " wallet topped up by " +  str(amount) + " rupees.", "", [], [], [])
7299
    return wallet.amount
7299
    return wallet.amount
7300
 
7300
 
7301
def get_wallet_balance_for_company(companyId):
7301
def get_wallet_balance_for_company(companyId):
7302
    return WalletForCompany.get_by(companyId = companyId).amount
7302
    return WalletForCompany.get_by(companyId = companyId).amount
7303
 
7303