| Line 79... |
Line 79... |
| 79 |
sellingPrice = d_item.sellingPrice
|
79 |
sellingPrice = d_item.sellingPrice
|
| 80 |
sellingPriceType = "Normal"
|
80 |
sellingPriceType = "Normal"
|
| 81 |
if d_privatedeal is not None and d_privatedeal.isActive==1 and d_privatedeal.startDate > datetime.now() and d_privatedeal.endDate < datetime.now() and d_privatedeal.dealPrice >0:
|
81 |
if d_privatedeal is not None and d_privatedeal.isActive==1 and d_privatedeal.startDate > datetime.now() and d_privatedeal.endDate < datetime.now() and d_privatedeal.dealPrice >0:
|
| 82 |
sellingPrice = d_privatedeal.dealPrice
|
82 |
sellingPrice = d_privatedeal.dealPrice
|
| 83 |
sellingPriceType = "Private deal price"
|
83 |
sellingPriceType = "Private deal price"
|
| 84 |
tempList.append({'item_id':d_item.id,'color':d_item.color,'sellingPrice':sellingPrice})
|
84 |
tempList.append({'item_id':d_item.id,'color':d_item.color,'sellingPrice':sellingPrice,'sellingPriceType':sellingPriceType})
|
| 85 |
if toBreak:
|
85 |
if toBreak:
|
| 86 |
print "Breaking"
|
86 |
print "Breaking"
|
| 87 |
break
|
87 |
break
|
| 88 |
start = fetch
|
88 |
start = fetch
|
| 89 |
fetch = start + fetch
|
89 |
fetch = start + fetch
|