From 3bbf60b3ef319f4c7d6350e5bb1fb05849e43ca6 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Wed, 2 Aug 2017 17:31:43 +0630 Subject: [PATCH] update total tax when other charges --- app/controllers/origami/other_charges_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/origami/other_charges_controller.rb b/app/controllers/origami/other_charges_controller.rb index 9b94781d..b0e6472c 100644 --- a/app/controllers/origami/other_charges_controller.rb +++ b/app/controllers/origami/other_charges_controller.rb @@ -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 }