| Line 120... |
Line 120... |
| 120 |
iscod = iscod and item_selling_price <= websiteCodLimit
|
120 |
iscod = iscod and item_selling_price <= websiteCodLimit
|
| 121 |
otgAvailable = otgAvailable and item_selling_price >= 2000
|
121 |
otgAvailable = otgAvailable and item_selling_price >= 2000
|
| 122 |
return 1, iscod, otgAvailable
|
122 |
return 1, iscod, otgAvailable
|
| 123 |
|
123 |
|
| 124 |
#Start:- Added by Manish Sharma for fedex Integration- Shipment Creation on 31-Jul-2013
|
124 |
#Start:- Added by Manish Sharma for fedex Integration- Shipment Creation on 31-Jul-2013
|
| 125 |
#if serviceable_location_cache.get(7).has_key(destination_pin):
|
125 |
if serviceable_location_cache.get(7).has_key(destination_pin):
|
| 126 |
#dest_code, exp, iscod, otgAvailable, websiteCodLimit, storeCodLimit, providerPrepaidLimit = serviceable_location_cache.get(7).get(destination_pin)
|
126 |
dest_code, exp, iscod, otgAvailable, websiteCodLimit, storeCodLimit, providerPrepaidLimit = serviceable_location_cache.get(7).get(destination_pin)
|
| 127 |
#if item_selling_price <= providerPrepaidLimit:
|
127 |
if item_selling_price <= providerPrepaidLimit:
|
| 128 |
#iscod = iscod and item_selling_price <= websiteCodLimit
|
128 |
iscod = iscod and item_selling_price <= websiteCodLimit
|
| 129 |
#otgAvailable = otgAvailable and item_selling_price >= 2000
|
129 |
otgAvailable = otgAvailable and item_selling_price >= 2000
|
| 130 |
#return 7, iscod, otgAvailable
|
130 |
return 7, iscod, otgAvailable
|
| 131 |
#End:- Added by Manish Sharma for fedex Integration- Shipment Creation on 31-Jul-2013
|
131 |
#End:- Added by Manish Sharma for fedex Integration- Shipment Creation on 31-Jul-2013
|
| 132 |
|
132 |
|
| 133 |
else:
|
133 |
else:
|
| 134 |
return None, False, False
|
134 |
return None, False, False
|
| 135 |
|
135 |
|