Subversion Repositories SmartDukaan

Rev

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

Rev 10415 Rev 10417
Line 414... Line 414...
414
        sheet.write(sheet_iterator, 4, snapdealItem.sellingPrice)
414
        sheet.write(sheet_iterator, 4, snapdealItem.sellingPrice)
415
        sheet.write(sheet_iterator, 5, snapdealItem.transferPrice)
415
        sheet.write(sheet_iterator, 5, snapdealItem.transferPrice)
416
        sheet.write(sheet_iterator, 6, round(snapdealItem.commission*1.1236,2))
416
        sheet.write(sheet_iterator, 6, round(snapdealItem.commission*1.1236,2))
417
        sheet.write(sheet_iterator, 7, marketplaceItem.commission)
417
        sheet.write(sheet_iterator, 7, marketplaceItem.commission)
418
        sheet.write(sheet_iterator, 8, (ds_item.weight*1000))
418
        sheet.write(sheet_iterator, 8, (ds_item.weight*1000))
419
        sheet.write(sheet_iterator, 9, round(data.courierCost*1.1236,2))
419
        sheet.write(sheet_iterator, 9, round(snapdealItem.courierCost*1.1236,2))
420
    
420
    
421
    filename = "/tmp/snapdeal-tp-reconciliation-" + str(datetime.now()) + ".xls"
421
    filename = "/tmp/snapdeal-tp-reconciliation-" + str(datetime.now()) + ".xls"
422
    wbk.save(filename)
422
    wbk.save(filename)
423
    
423
    
424
    try:
424
    try: