Subversion Repositories SmartDukaan

Rev

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

Rev 17530 Rev 17992
Line 136... Line 136...
136
        if item_selling_price <= providerPrepaidLimit:
136
        if item_selling_price <= providerPrepaidLimit:
137
            iscod = iscod and item_selling_price <= websiteCodLimit
137
            iscod = iscod and item_selling_price <= websiteCodLimit
138
            otgAvailable = otgAvailable and item_selling_price >= 2000
138
            otgAvailable = otgAvailable and item_selling_price >= 2000
139
            return 3, iscod, otgAvailable
139
            return 3, iscod, otgAvailable
140
        
140
        
141
    if billingWarehouseId not in [12,13] and serviceable_location_cache.get(7).has_key(destination_pin):
141
    if billingWarehouseId not in [12,13] and serviceable_location_cache.has_key(7) and serviceable_location_cache.get(7).has_key(destination_pin):
142
        if item_selling_price < 3000 and serviceable_location_cache.get(1).has_key(destination_pin):
142
        if item_selling_price < 3000 and serviceable_location_cache.get(1).has_key(destination_pin):
143
            dest_code, exp, iscod, otgAvailable, websiteCodLimit, storeCodLimit, providerPrepaidLimit = serviceable_location_cache.get(1).get(destination_pin)
143
            dest_code, exp, iscod, otgAvailable, websiteCodLimit, storeCodLimit, providerPrepaidLimit = serviceable_location_cache.get(1).get(destination_pin)
144
            if item_selling_price <= providerPrepaidLimit:
144
            if item_selling_price <= providerPrepaidLimit:
145
                iscod = iscod and item_selling_price <= websiteCodLimit
145
                iscod = iscod and item_selling_price <= websiteCodLimit
146
                otgAvailable = otgAvailable and item_selling_price >= 2000
146
                otgAvailable = otgAvailable and item_selling_price >= 2000