update total tax when other charges

This commit is contained in:
Aung Myo
2017-08-02 16:58:34 +06:30
parent da5dfa1853
commit 6a6b7eae29
3 changed files with 24 additions and 3 deletions

View File

@@ -45,7 +45,8 @@ 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_by_sale_items(sale_id, sale.sale_items, sale.total_discount)
sale.compute_without_void
end
dining = {:table_id => table_id, :table_type => table_type }