Subversion Repositories SmartDukaan

Rev

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

Rev 7277 Rev 7278
Line 290... Line 290...
290
    wh.referenceNumber =  get_next_invoice_number(OrderType.WALLETCREDIT)
290
    wh.referenceNumber =  get_next_invoice_number(OrderType.WALLETCREDIT)
291
    wh.description = "Wallet Credited"
291
    wh.description = "Wallet Credited"
292
    
292
    
293
    wallet.amount += amount
293
    wallet.amount += amount
294
    session.commit()
294
    session.commit()
295
    mail("cnc.center@shop2020.in", "5h0p2o2o", ["rajveer.singh@shop2020.in", "anupam.singh@shop2020.in", "rajneesh.arora@shop2020.in"], "Wallet topped up by " +  str(amount) + "rupees.", "", [], [], [])
295
    mail("cnc.center@shop2020.in", "5h0p2o2o", ["rajveer.singh@shop2020.in", "anupam.singh@shop2020.in", "Ashwani.Kumar@spiceretail.co.in","parveen.mittal@spiceretail.co.in","pardeep.panwar@spiceretail.co.in","gagan.sharma@spiceretail.co.in","j.p.gupta@shop2020.in", "rajneesh.arora@shop2020.in", "amit.tyagi@spiceretail.co.in"] , "Spice Retail wallet topped up by " +  str(amount) + " rupees.", "", [], [], [])
296
    
296
    
297
if __name__ == '__main__':
297
if __name__ == '__main__':
298
    main()
298
    main()
299
299