Subversion Repositories SmartDukaan

Rev

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

Rev 23220 Rev 23316
Line 691... Line 691...
691
    logsiticsCosting = {}
691
    logsiticsCosting = {}
692
    providerCostingMap = {}
692
    providerCostingMap = {}
693
    serviceability = {}
693
    serviceability = {}
694
    providerList = list(PROVIDER_PRIORITY)
694
    providerList = list(PROVIDER_PRIORITY)
695
    #for now this part is disabled and only the same logistics partner is used as priority
695
    #for now this part is disabled and only the same logistics partner is used as priority
696
    providerIds = [__get_provider(providerList, pincode, transactionAmount, weight, type, billingWarehouseId)]
696
    provider_id, cod = __get_provider(providerList, pincode, transactionAmount, weight, type, billingWarehouseId)
-
 
697
    providerIds = [provider_id]
697
    #for providerId in serviceable_location_cache.keys():
698
    #for providerId in serviceable_location_cache.keys():
698
    for providerId in providerIds:
699
    for providerId in providerIds:
699
        if serviceable_location_cache.has_key(providerId) and serviceable_location_cache.get(providerId).has_key(pincode):
700
        if serviceable_location_cache.has_key(providerId) and serviceable_location_cache.get(providerId).has_key(pincode):
700
            dest_code, exp, iscod, otgAvailable, websiteCodLimit, storeCodLimit, providerPrepaidLimit, providerCodLimit = serviceable_location_cache.get(providerId).get(pincode)
701
            dest_code, exp, iscod, otgAvailable, websiteCodLimit, storeCodLimit, providerPrepaidLimit, providerCodLimit = serviceable_location_cache.get(providerId).get(pincode)
701
            if isCod and iscod:
702
            if isCod and iscod: