Subversion Repositories SmartDukaan

Rev

Rev 19474 | Rev 19488 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19474 Rev 19487
Line 548... Line 548...
548
                    billingWarehouseTxnMap[billingWarehouseId] = order.total_amount , order.total_weight
548
                    billingWarehouseTxnMap[billingWarehouseId] = order.total_amount , order.total_weight
549
                    
549
                    
550
                subOrderAmountsMap[long(order.lineitems[0].unit_price)] = order
550
                subOrderAmountsMap[long(order.lineitems[0].unit_price)] = order
551
                    
551
                    
552
                order.fulfilmentWarehouseId = fulfilmentWhId
552
                order.fulfilmentWarehouseId = fulfilmentWhId
-
 
553
                order.warehouse_id = billingWarehouseId
553
                
554
                
554
                fulfilmentWarehouseId = fulfilmentWhId
555
                fulfilmentWarehouseId = fulfilmentWhId
555
                if OrderType.B2B == order.orderType:
556
                if OrderType.B2B == order.orderType:
556
                    #get state
557
                    #get state
557
                    stateMaster = fetchStateMaster()
558
                    stateMaster = fetchStateMaster()
Line 758... Line 759...
758
                    billingWarehouseTxnMap[billingWarehouseId] = order.total_amount , order.total_weight
759
                    billingWarehouseTxnMap[billingWarehouseId] = order.total_amount , order.total_weight
759
                    
760
                    
760
                subOrderAmountsMap[long(order.lineitems[0].unit_price)] = order
761
                subOrderAmountsMap[long(order.lineitems[0].unit_price)] = order
761
                    
762
                    
762
                order.fulfilmentWarehouseId = fulfilmentWhId
763
                order.fulfilmentWarehouseId = fulfilmentWhId
-
 
764
                order.warehouse_id = billingWarehouseId
763
                
765
                
764
                fulfilmentWarehouseId = fulfilmentWhId
766
                fulfilmentWarehouseId = fulfilmentWhId
765
                if OrderType.B2B == order.orderType:
767
                if OrderType.B2B == order.orderType:
766
                    #get state
768
                    #get state
767
                    stateMaster = fetchStateMaster()
769
                    stateMaster = fetchStateMaster()