Subversion Repositories SmartDukaan

Rev

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

Rev 14493 Rev 14494
Line 153... Line 153...
153
            worksheet.write(row, inc(), subOrder['cashBackAmount'])
153
            worksheet.write(row, inc(), subOrder['cashBackAmount'])
154
            worksheet.write(row, inc(), subOrder['placedOn'])
154
            worksheet.write(row, inc(), subOrder['placedOn'])
155
            worksheet.write(row, inc(), order['subTagId'])
155
            worksheet.write(row, inc(), order['subTagId'])
156
            if gotCashBack:
156
            if gotCashBack:
157
                worksheet.write(row, inc(), aff[0]['adId'])
157
                worksheet.write(row, inc(), aff[0]['adId'])
158
                worksheet.write(row, inc(), aff[0]['payOut'])
158
                worksheet.write(row, inc(), aff[0]['saleDate'])
159
                if once:
159
                if once:
-
 
160
                    worksheet.write(row, inc(), aff[0]['payOut'])
160
                    worksheet.write(row, inc(), aff[0]['saleAmount'])
161
                    worksheet.write(row, inc(), aff[0]['saleAmount'])
161
                    worksheet.write(row, inc(), aff[0]['saleDate'])
-
 
162
                    once = False
162
                    once = False
163
        workbook.save(XLS_FILENAME)
163
        workbook.save(XLS_FILENAME)
164
            
164
            
165
def sendmail(email, message, title):
165
def sendmail(email, message, title):
166
    if email == "":
166
    if email == "":