Subversion Repositories SmartDukaan

Rev

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

Rev 26502 Rev 26506
Line 3518... Line 3518...
3518
        #This is temporary fix for mobiles that are missing tax rates
3518
        #This is temporary fix for mobiles that are missing tax rates
3519
    for k in itemIds:
3519
    for k in itemIds:
3520
        if itemIdItemMap[k].hsnCode=="NOGST":
3520
        if itemIdItemMap[k].hsnCode=="NOGST":
3521
            itemIdIgstTaxRateMap[k] = 0
3521
            itemIdIgstTaxRateMap[k] = 0
3522
        elif itemIdIgstTaxRateMap.get(k) is None and itemIdItemMap[k].category==10006:
3522
        elif itemIdIgstTaxRateMap.get(k) is None and itemIdItemMap[k].category==10006:
3523
            itemIdIgstTaxRateMap[k] = 12
3523
            itemIdIgstTaxRateMap[k] = 18
3524
    return itemIdIgstTaxRateMap
3524
    return itemIdIgstTaxRateMap
3525
 
3525
 
3526
 
3526
 
3527
def add_state_gst_rates(stateGstRates):
3527
def add_state_gst_rates(stateGstRates):
3528
    #lets keep rates only for haryana and delhi i.e. 0 and 3
3528
    #lets keep rates only for haryana and delhi i.e. 0 and 3