Subversion Repositories SmartDukaan

Rev

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

Rev 20601 Rev 20637
Line 2147... Line 2147...
2147
        for knkPincodePrefix in karnatakaPincodePrefix:
2147
        for knkPincodePrefix in karnatakaPincodePrefix:
2148
            if order.customer_pincode.startswith(knkPincodePrefix):
2148
            if order.customer_pincode.startswith(knkPincodePrefix):
2149
                return 0
2149
                return 0
2150
        return 1
2150
        return 1
2151
    if order.warehouse_id == 3298:
2151
    if order.warehouse_id == 3298:
2152
        if order.customer_pincode in haryanaPincodes:
2152
        if order.customer_pincode in telenganaPincodes:
2153
            return 0
2153
            return 0
2154
        return 1
2154
        return 1
2155
    if order.warehouse_id == 7441:
2155
    if order.warehouse_id == haryanaPincodes:
2156
        for pincode in telenganaPincodes:
2156
        for pincode in telenganaPincodes:
2157
            if order.customer_pincode == pincode:
2157
            if order.customer_pincode == pincode:
2158
                return 0
2158
                return 0
2159
        return 1
2159
        return 1
2160
    return 0
2160
    return 0