update total tax when other charges

This commit is contained in:
Aung Myo
2017-08-02 17:31:43 +06:30
parent 6a6b7eae29
commit 3bbf60b3ef

View File

@@ -45,8 +45,7 @@ class Origami::OtherChargesController < BaseOrigamiController
end
# Re-calc All Amount in Sale
# sale.compute_by_sale_items(sale_id, sale.sale_items, sale.total_discount)
sale.compute_without_void
sale.compute_by_sale_items(sale_id, sale.sale_items, sale.total_discount)
end
dining = {:table_id => table_id, :table_type => table_type }