Subversion Repositories SmartDukaan

Rev

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

Rev 9383 Rev 9386
Line 248... Line 248...
248
            sheet.write(sheet_iterator, 25, round(proposed_tp))
248
            sheet.write(sheet_iterator, 25, round(proposed_tp))
249
            sheet.write(sheet_iterator, 26, round((proposed_tp+courierCost)/0.9597)) 
249
            sheet.write(sheet_iterator, 26, round((proposed_tp+courierCost)/0.9597)) 
250
        else:
250
        else:
251
            sheet.write(sheet_iterator, 24, "No")
251
            sheet.write(sheet_iterator, 24, "No")
252
        
252
        
253
        sheet.write(sheet_iterator, 27, round(proposed_tp*.0988+21))
253
        sheet.write(sheet_iterator, 27, round(proposed_tp*0.988+21))
254
        
254
        
255
        if (supc_data.lowestOfferPrice - one_line.our_nlc) < 0:
255
        if (supc_data.lowestOfferPrice - one_line.our_nlc) < 0:
256
            sheet.write(sheet_iterator, 28, "HIGH")
256
            sheet.write(sheet_iterator, 28, "HIGH")
257
        elif (supc_data.lowestOfferPrice - one_line.our_nlc)/supc_data.lowestOfferPrice >=0 and (supc_data.lowestOfferPrice - one_line.our_nlc)/supc_data.lowestOfferPrice <= .02:
257
        elif (supc_data.lowestOfferPrice - one_line.our_nlc)/supc_data.lowestOfferPrice >=0 and (supc_data.lowestOfferPrice - one_line.our_nlc)/supc_data.lowestOfferPrice <= .02:
258
            sheet.write(sheet_iterator, 28, "MEDIUM")
258
            sheet.write(sheet_iterator, 28, "MEDIUM")