Subversion Repositories SmartDukaan

Rev

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

Rev 14850 Rev 14873
Line 306... Line 306...
306
            worksheet1.write(anotherrow, inc(), row1[-3])
306
            worksheet1.write(anotherrow, inc(), row1[-3])
307
            worksheet1.write(anotherrow, inc(), order['merchantOrderId'])
307
            worksheet1.write(anotherrow, inc(), order['merchantOrderId'])
308
            worksheet1.write(anotherrow, inc(), order['subTagId'])
308
            worksheet1.write(anotherrow, inc(), order['subTagId'])
309
            worksheet1.write(anotherrow, inc(), order['placedOn'])
309
            worksheet1.write(anotherrow, inc(), order['placedOn'])
310
            worksheet1.write(anotherrow, inc(), int(order['paidAmount']))
310
            worksheet1.write(anotherrow, inc(), int(order['paidAmount']))
-
 
311
            try:
311
            timestamp1 = int(time.mktime(datetime.strptime(order['placedOn'], "%b %d, %Y, %I:%M %p").timetuple()))
312
                timestamp1 = int(time.mktime(datetime.strptime(order['placedOn'], "%b %d, %Y, %I:%M %p").timetuple()))
-
 
313
            except:
-
 
314
                timestamp1 = row[-4]
-
 
315
                
312
            notReconciled[orderId] = (anotherrow, i, int(order['paidAmount']), timestamp1, order["subTagId"]) 
316
            notReconciled[orderId] = (anotherrow, i, int(order['paidAmount']), timestamp1, order["subTagId"]) 
313
            inc()
317
            inc()
314
            inc()
318
            inc()
315
            inc()
319
            inc()
316
            inc()
320
            inc()