| Line 574... |
Line 574... |
| 574 |
current_time = datetime.datetime.now()
|
574 |
current_time = datetime.datetime.now()
|
| 575 |
logistics_info = logistics_client.getLogisticsInfo(order.customer_pincode, item_id, DeliveryType.PREPAID, pickUp)
|
575 |
logistics_info = logistics_client.getLogisticsInfo(order.customer_pincode, item_id, DeliveryType.PREPAID, pickUp)
|
| 576 |
order.logistics_provider_id = logistics_info.providerId
|
576 |
order.logistics_provider_id = logistics_info.providerId
|
| 577 |
if pdu.isFofo:
|
577 |
if pdu.isFofo:
|
| 578 |
###For fofo always use RQuick - Surface i.e. 48
|
578 |
###For fofo always use RQuick - Surface i.e. 48
|
| - |
|
579 |
##Changed to Self pickup for now i.e. 4
|
| 579 |
order.logistics_provider_id = 48
|
580 |
order.logistics_provider_id = 4
|
| 580 |
logistics_info.deliveryTime = logistics_info.shippingTime + 1
|
581 |
logistics_info.deliveryTime = logistics_info.shippingTime + 1
|
| 581 |
|
582 |
|
| 582 |
# if fofoWarehousesMap:
|
583 |
# if fofoWarehousesMap:
|
| 583 |
# order.fulfilmentWarehouseId = fofoWarehousesMap.get(item_id).id
|
584 |
# order.fulfilmentWarehouseId = fofoWarehousesMap.get(item_id).id
|
| 584 |
# order.warehouse_id = fofoWarehousesMap.get(item_id).billingWarehouseId
|
585 |
# order.warehouse_id = fofoWarehousesMap.get(item_id).billingWarehouseId
|