| Line 149... |
Line 149... |
| 149 |
worksheet.write(row, inc(), subOrder['cashBackStatus'])
|
149 |
worksheet.write(row, inc(), subOrder['cashBackStatus'])
|
| 150 |
worksheet.write(row, inc(), subOrder['cashBackAmount'])
|
150 |
worksheet.write(row, inc(), subOrder['cashBackAmount'])
|
| 151 |
worksheet.write(row, inc(), subOrder['placedOn'])
|
151 |
worksheet.write(row, inc(), subOrder['placedOn'])
|
| 152 |
worksheet.write(row, inc(), order['subTagId'])
|
152 |
worksheet.write(row, inc(), order['subTagId'])
|
| 153 |
if len(aff) and abs(saleTime-aff[0]['saleTime']) < 60:
|
153 |
if len(aff) and abs(saleTime-aff[0]['saleTime']) < 60:
|
| - |
|
154 |
print saleTime -aff[0]['saleTime']
|
| 154 |
worksheet.write(row, inc(), aff[0]['adId'])
|
155 |
worksheet.write(row, inc(), aff[0]['adId'])
|
| 155 |
worksheet.write(row, inc(), aff[0]['payOut'])
|
156 |
worksheet.write(row, inc(), aff[0]['payOut'])
|
| 156 |
worksheet.write(row, inc(), aff[0]['saleAmount'])
|
157 |
worksheet.write(row, inc(), aff[0]['saleAmount'])
|
| 157 |
worksheet.write(row, inc(), aff[0]['saleDate'])
|
158 |
worksheet.write(row, inc(), aff[0]['saleDate'])
|
| 158 |
workbook.save(XLS_FILENAME)
|
159 |
workbook.save(XLS_FILENAME)
|