Subversion Repositories SmartDukaan

Rev

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

Rev 12468 Rev 12469
Line 536... Line 536...
536
            temp.append(amDetails)
536
            temp.append(amDetails)
537
            temp.append(amPricing)
537
            temp.append(amPricing)
538
            cheapest.append(temp)
538
            cheapest.append(temp)
539
            continue
539
            continue
540
        
540
        
541
        if (amDetails.lowestSellerSp > amPricing.lowestPossibleSp) and ((((float(amDetails.promoPrice - amDetails.lowestSellerSp))/amDetails.promoPrice)<=.01) or ((amDetails.promoPrice - amDetails.lowestSellerSp)<=25)):
541
        if (amDetails.lowestSellerSp > amPricing.lowestPossibleSp) and ((((float(float(amDetails.promoPrice) - amDetails.lowestSellerSp))/float(amDetails.promoPrice))<=.01) or ((float(amDetails.promoPrice) - amDetails.lowestSellerSp)<=25)):
542
            temp = []
542
            temp = []
543
            temp.append(val)
543
            temp.append(val)
544
            temp.append(amDetails)
544
            temp.append(amDetails)
545
            temp.append(amPricing)
545
            temp.append(amPricing)
546
            amongCheapestAndCanCompete.append(temp)
546
            amongCheapestAndCanCompete.append(temp)