| Line 7412... |
Line 7412... |
| 7412 |
shipmentLogisticsCostObj.shipmentLogsiticsCost = order.lineitems[0].logisticsCost
|
7412 |
shipmentLogisticsCostObj.shipmentLogsiticsCost = order.lineitems[0].logisticsCost
|
| 7413 |
shipmentLogisticsCostObj.shipmentWeight = order.total_weight
|
7413 |
shipmentLogisticsCostObj.shipmentWeight = order.total_weight
|
| 7414 |
|
7414 |
|
| 7415 |
shipmentLogisticsCostDetails = []
|
7415 |
shipmentLogisticsCostDetails = []
|
| 7416 |
shipmentLogisticsCostDetails.append(shipmentLogisticsCostObj)
|
7416 |
shipmentLogisticsCostDetails.append(shipmentLogisticsCostObj)
|
| 7417 |
add_or_update_shipment_logistics_cost_details(shipmentLogisticsCostObj)
|
7417 |
add_or_update_shipment_logistics_cost_details(shipmentLogisticsCostDetails)
|
| 7418 |
return order
|
7418 |
return order
|
| 7419 |
#End:- Added by Manish Sharma for FedEx Integration- Shipment Creation on 31-Jul-2013
|
7419 |
#End:- Added by Manish Sharma for FedEx Integration- Shipment Creation on 31-Jul-2013
|
| 7420 |
|
7420 |
|
| 7421 |
def get_hotspot_service_matrices():
|
7421 |
def get_hotspot_service_matrices():
|
| 7422 |
hotspotServiceMatrices = HotspotServiceMatrix.query.all()
|
7422 |
hotspotServiceMatrices = HotspotServiceMatrix.query.all()
|
| Line 9766... |
Line 9766... |
| 9766 |
shipmentLogisticsCostObj.shipmentLogsiticsCost = shipmentLogisticsCost
|
9766 |
shipmentLogisticsCostObj.shipmentLogsiticsCost = shipmentLogisticsCost
|
| 9767 |
shipmentLogisticsCostObj.shipmentWeight = shipmentWeight
|
9767 |
shipmentLogisticsCostObj.shipmentWeight = shipmentWeight
|
| 9768 |
|
9768 |
|
| 9769 |
shipmentLogisticsCostDetails = []
|
9769 |
shipmentLogisticsCostDetails = []
|
| 9770 |
shipmentLogisticsCostDetails.append(shipmentLogisticsCostObj)
|
9770 |
shipmentLogisticsCostDetails.append(shipmentLogisticsCostObj)
|
| 9771 |
add_or_update_shipment_logistics_cost_details(shipmentLogisticsCostObj)
|
9771 |
add_or_update_shipment_logistics_cost_details(shipmentLogisticsCostDetails)
|
| 9772 |
|
9772 |
|
| 9773 |
return True
|
9773 |
return True
|
| 9774 |
|
9774 |
|
| 9775 |
def add_or_update_shipment_logistics_cost_details(shipmentLogisticsCostDetails):
|
9775 |
def add_or_update_shipment_logistics_cost_details(shipmentLogisticsCostDetails):
|
| 9776 |
currentTime = datetime.datetime.now()
|
9776 |
currentTime = datetime.datetime.now()
|