fix for re-calc tax for gram sale

This commit is contained in:
Yan
2017-07-25 18:08:04 +06:30
parent 09193a532a
commit 89c8b9a9cc

View File

@@ -249,7 +249,7 @@ class Sale < ApplicationRecord
if item.remark != 'void'
#compute each item and added to total
subtotal_price = subtotal_price + item.price
total_taxable = total_taxable + item.taxable_price
total_taxable = total_taxable + item.price
end
end