Subversion Repositories SmartDukaan

Rev

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

Rev 19567 Rev 19630
Line 9824... Line 9824...
9824
    shipmentAmount = 0
9824
    shipmentAmount = 0
9825
    shipmentWeight = 0
9825
    shipmentWeight = 0
9826
    isCod = False
9826
    isCod = False
9827
    if ordersList[0].cod:
9827
    if ordersList[0].cod:
9828
        isCod = True
9828
        isCod = True
-
 
9829
        
-
 
9830
    if ordersList[0].logistics_provider_id == 4:
-
 
9831
        return ordersList
9829
    
9832
    
9830
    for order in ordersList:
9833
    for order in ordersList:
9831
        shipmentAmount = shipmentAmount + order.total_amount
9834
        shipmentAmount = shipmentAmount + order.total_amount
9832
        shipmentWeight = shipmentWeight + order.total_weight
9835
        shipmentWeight = shipmentWeight + order.total_weight
9833
    
9836