| Line 625... |
Line 625... |
| 625 |
if amazonLongTermActivePromotions.has_key(val.sku):
|
625 |
if amazonLongTermActivePromotions.has_key(val.sku):
|
| 626 |
subsidy = (amazonLongTermActivePromotions.get(val.sku)).subsidy
|
626 |
subsidy = (amazonLongTermActivePromotions.get(val.sku)).subsidy
|
| 627 |
else:
|
627 |
else:
|
| 628 |
subsidy = (amazonShortTermActivePromotions.get(val.sku)).subsidy
|
628 |
subsidy = (amazonShortTermActivePromotions.get(val.sku)).subsidy
|
| 629 |
lowestPossibleSp = lowestPossibleSp - subsidy
|
629 |
lowestPossibleSp = lowestPossibleSp - subsidy
|
| 630 |
print subsidy
|
630 |
print "subsidy ",subsidy
|
| 631 |
print (val.nlc+(val.courierCost)*(1+(spm.serviceTax/100))*(1+(val.vatRate/100))+(15+val.otherCost)*(1+(val.vatRate)/100))
|
631 |
print (val.nlc+(val.courierCost)*(1+(spm.serviceTax/100))*(1+(val.vatRate/100))+(15+val.otherCost)*(1+(val.vatRate)/100))
|
| 632 |
print (1-(spm.commission/100+spm.emiFee/100)*(1+(spm.serviceTax/100))*(1+(val.vatRate)/100)-(spm.returnProvision/100)*(1+(val.vatRate)/100))
|
632 |
print (1-(spm.commission/100+spm.emiFee/100)*(1+(spm.serviceTax/100))*(1+(val.vatRate)/100)-(spm.returnProvision/100)*(1+(val.vatRate)/100))
|
| 633 |
return round(lowestPossibleSp,2)
|
633 |
return round(lowestPossibleSp,2)
|
| 634 |
|
634 |
|
| 635 |
def getNewLowestPossibleSp(item,serviceTax,newVatRate):
|
635 |
def getNewLowestPossibleSp(item,serviceTax,newVatRate):
|