Subversion Repositories SmartDukaan

Rev

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

Rev 4866 Rev 4871
Line 516... Line 516...
516
    
516
    
517
        elif cart.lines:
517
        elif cart.lines:
518
            for line in cart.lines:
518
            for line in cart.lines:
519
                logistics_info = logistics_client.getLogisticsEstimation(line.item_id, pincode, DeliveryType.PREPAID)
519
                logistics_info = logistics_client.getLogisticsEstimation(line.item_id, pincode, DeliveryType.PREPAID)
520
                
520
                
521
                if not logistics_info.isCodAllowed:
521
                if not logistics_info.codAllowed:
522
                    cod_option = False
522
                    cod_option = False
523
                    break
523
                    break
524
    
524
    
525
    return cod_option
525
    return cod_option
526
    
526