| Line 500... |
Line 500... |
| 500 |
|
500 |
|
| 501 |
if (ourTp<lowestPossibleTp):
|
501 |
if (ourTp<lowestPossibleTp):
|
| 502 |
temp=[]
|
502 |
temp=[]
|
| 503 |
temp.append(snapdealDetails)
|
503 |
temp.append(snapdealDetails)
|
| 504 |
temp.append(val)
|
504 |
temp.append(val)
|
| 505 |
snapdealPricing = __SnapdealPricing(ourSp,ourTp,lowestTp,lowestPossibleTp,None,None,None)
|
505 |
snapdealPricing = __SnapdealPricing(ourSp,ourTp,lowestTp,lowestPossibleTp,None,None,getLowestPossibleSp(snapdealDetails,val,spm,mpItem))
|
| 506 |
temp.append(snapdealPricing)
|
506 |
temp.append(snapdealPricing)
|
| 507 |
negativeMargin.append(temp)
|
507 |
negativeMargin.append(temp)
|
| 508 |
continue
|
508 |
continue
|
| 509 |
|
509 |
|
| 510 |
if (snapdealDetails.lowestOfferPrice == snapdealDetails.lowestSp) and snapdealDetails.ourOfferPrice == snapdealDetails.ourSp:
|
510 |
if (snapdealDetails.lowestOfferPrice == snapdealDetails.lowestSp) and snapdealDetails.ourOfferPrice == snapdealDetails.ourSp:
|
| Line 1281... |
Line 1281... |
| 1281 |
mpHistory.source = OrderSource.SNAPDEAL
|
1281 |
mpHistory.source = OrderSource.SNAPDEAL
|
| 1282 |
mpHistory.ourOfferPrice = snapdealDetails.ourOfferPrice
|
1282 |
mpHistory.ourOfferPrice = snapdealDetails.ourOfferPrice
|
| 1283 |
mpHistory.ourSellingPrice = snapdealPricing.ourSp
|
1283 |
mpHistory.ourSellingPrice = snapdealPricing.ourSp
|
| 1284 |
mpHistory.ourTp = snapdealPricing.ourTp
|
1284 |
mpHistory.ourTp = snapdealPricing.ourTp
|
| 1285 |
mpHistory.lowestPossibleTp = snapdealPricing.lowestPossibleTp
|
1285 |
mpHistory.lowestPossibleTp = snapdealPricing.lowestPossibleTp
|
| - |
|
1286 |
mpHistory.lowestPossibleSp = snapdealPricing.lowestPossibleSp
|
| 1286 |
mpHistory.ourNlc = snapdealItemInfo.nlc
|
1287 |
mpHistory.ourNlc = snapdealItemInfo.nlc
|
| 1287 |
mpHistory.ourInventory = snapdealDetails.ourInventory
|
1288 |
mpHistory.ourInventory = snapdealDetails.ourInventory
|
| 1288 |
mpHistory.otherInventory = snapdealDetails.otherInventory
|
1289 |
mpHistory.otherInventory = snapdealDetails.otherInventory
|
| 1289 |
mpHistory.ourRank = snapdealDetails.rank
|
1290 |
mpHistory.ourRank = snapdealDetails.rank
|
| 1290 |
mpHistory.risky = snapdealItemInfo.risky
|
1291 |
mpHistory.risky = snapdealItemInfo.risky
|