fix for re-calc tax for gram sale
This commit is contained in:
@@ -249,7 +249,7 @@ class Sale < ApplicationRecord
|
|||||||
if item.remark != 'void'
|
if item.remark != 'void'
|
||||||
#compute each item and added to total
|
#compute each item and added to total
|
||||||
subtotal_price = subtotal_price + item.price
|
subtotal_price = subtotal_price + item.price
|
||||||
total_taxable = total_taxable + item.taxable_price
|
total_taxable = total_taxable + item.price
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user