| Line 176... |
Line 176... |
| 176 |
if delivery_estimate is None:
|
176 |
if delivery_estimate is None:
|
| 177 |
raise LogisticsServiceException(104, "Unable to fetch delivery estimate for this pincode.")
|
177 |
raise LogisticsServiceException(104, "Unable to fetch delivery estimate for this pincode.")
|
| 178 |
|
178 |
|
| 179 |
print "destination", destination_pin, "stateId", stateId
|
179 |
print "destination", destination_pin, "stateId", stateId
|
| 180 |
if stateId != -1:
|
180 |
if stateId != -1:
|
| 181 |
if destination_pin in [132001, 136027, 132114, 131001, 132103]:
|
181 |
if destination_pin in ['132001', '136027', '132114', '131001', '132103']:
|
| 182 |
delivery_estimate.provider_id = 48
|
182 |
delivery_estimate.provider_id = 48
|
| 183 |
|
183 |
|
| 184 |
# # Commented below part as we have only Delhi as warehouse city. If we will add some more warehouses in different cities, this could be useful.
|
184 |
# # Commented below part as we have only Delhi as warehouse city. If we will add some more warehouses in different cities, this could be useful.
|
| 185 |
# We are revising the estimates based on the actual warehouse that this order will be assigned to.
|
185 |
# We are revising the estimates based on the actual warehouse that this order will be assigned to.
|
| 186 |
# This warehouse may be located in a zone which is different from the one we allocated for this pincode.
|
186 |
# This warehouse may be located in a zone which is different from the one we allocated for this pincode.
|