Subversion Repositories SmartDukaan

Rev

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

Rev 9520 Rev 9618
Line 723... Line 723...
723
        sheet.write(sheet_iterator, 22, round(lowest_possible_sp))
723
        sheet.write(sheet_iterator, 22, round(lowest_possible_sp))
724
        if (supc_data.lowestOfferPrice == supc_data.lowestSp):
724
        if (supc_data.lowestOfferPrice == supc_data.lowestSp):
725
            competitionBasis ='SP'
725
            competitionBasis ='SP'
726
            sheet.write(sheet_iterator, 23, 'SP')
726
            sheet.write(sheet_iterator, 23, 'SP')
727
        else:
727
        else:
-
 
728
            competitionBasis ='TP'
728
            sheet.write(sheet_iterator, 23, 'TP')
729
            sheet.write(sheet_iterator, 23, 'TP')
729
        proposed_tp = 0
730
        proposed_tp = 0
730
        if competitionBasis=='SP':
731
        if competitionBasis=='SP':
731
            if supc_data.lowestSp > lowest_possible_sp:
732
            if supc_data.lowestSp > lowest_possible_sp:
732
                sheet.write(sheet_iterator, 24, "Yes")
733
                sheet.write(sheet_iterator, 24, "Yes")