Subversion Repositories SmartDukaan

Rev

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

Rev 12466 Rev 12467
Line 520... Line 520...
520
        
520
        
521
        lowestPossibleSp = getLowestPossibleSp(amDetails,val,val.sourcePercentage)
521
        lowestPossibleSp = getLowestPossibleSp(amDetails,val,val.sourcePercentage)
522
        print "Creating pricing obj"
522
        print "Creating pricing obj"
523
        amPricing = __AmazonPricing(ourSp,lowestPossibleSp)
523
        amPricing = __AmazonPricing(ourSp,lowestPossibleSp)
524
        
524
        
525
        if amPricing.promoPrice < amPricing.lowestPossibleSp:
525
        if amDetails.promoPrice < amPricing.lowestPossibleSp:
526
            temp = []
526
            temp = []
527
            temp.append(val)
527
            temp.append(val)
528
            temp.append(amDetails)
528
            temp.append(amDetails)
529
            temp.append(amPricing)
529
            temp.append(amPricing)
530
            negativeMargin.append(temp)
530
            negativeMargin.append(temp)