Subversion Repositories SmartDukaan

Rev

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

Rev 20637 Rev 20638
Line 2150... Line 2150...
2150
        return 1
2150
        return 1
2151
    if order.warehouse_id == 3298:
2151
    if order.warehouse_id == 3298:
2152
        if order.customer_pincode in telenganaPincodes:
2152
        if order.customer_pincode in telenganaPincodes:
2153
            return 0
2153
            return 0
2154
        return 1
2154
        return 1
2155
    if order.warehouse_id == haryanaPincodes:
2155
    if order.warehouse_id == 7441:
2156
        for pincode in telenganaPincodes:
2156
        for pincode in haryanaPincodes:
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
2161
    #raise TransactionServiceException(110, "No Vat/CST logic defined for warehouse " + str(order.warehouse_id)) 
2161
    #raise TransactionServiceException(110, "No Vat/CST logic defined for warehouse " + str(order.warehouse_id))