| Line 7776... |
Line 7776... |
| 7776 |
totalOrdersAmount = totalOrdersAmount + order.total_amount
|
7776 |
totalOrdersAmount = totalOrdersAmount + order.total_amount
|
| 7777 |
|
7777 |
|
| 7778 |
if order.cod:
|
7778 |
if order.cod:
|
| 7779 |
if isPrivateDealUser and privateDealUser.bulkShipmentAmountLimit:
|
7779 |
if isPrivateDealUser and privateDealUser.bulkShipmentAmountLimit:
|
| 7780 |
if totalOrdersAmount > privateDealUser.bulkShipmentAmountLimit:
|
7780 |
if totalOrdersAmount > privateDealUser.bulkShipmentAmountLimit:
|
| 7781 |
raise TransactionServiceException(208, "Private Deal Counter Group Shipment Weight Limit Violated i.e. "+ str(privateDealUser.bulkShipmentAmountLimit))
|
7781 |
raise TransactionServiceException(208, "Private Deal Counter Group Shipment Amount Limit Violated i.e. "+ str(privateDealUser.bulkShipmentAmountLimit))
|
| 7782 |
else:
|
7782 |
else:
|
| 7783 |
if totalOrdersAmount > 50000:
|
7783 |
if totalOrdersAmount > 50000:
|
| 7784 |
raise TransactionServiceException(208, "Private Deal Counter Group Shipment Weight Limit Violated i.e. "+ str(50000))
|
7784 |
raise TransactionServiceException(208, "Private Deal Counter Group Shipment Amount Limit Violated i.e. "+ str(50000))
|
| 7785 |
|
7785 |
|
| 7786 |
if totalWeight > provider.bundleWeightLimit:
|
7786 |
if totalWeight > provider.bundleWeightLimit:
|
| 7787 |
raise TransactionServiceException(210, "Logistics Partner "+provider.name+ " Group Shipment Weight Limit Violated i.e. "+str(provider.bundleWeightLimit))
|
7787 |
raise TransactionServiceException(210, "Logistics Partner "+provider.name+ " Group Shipment Weight Limit Violated i.e. "+str(provider.bundleWeightLimit))
|
| 7788 |
|
7788 |
|
| 7789 |
if order.cod:
|
7789 |
if order.cod:
|