From 3133248df08b36d6a0d75164a38c4a43b6ee2802 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Fri, 1 Dec 2017 12:07:03 +0630 Subject: [PATCH] update daily sale view --- app/models/sale.rb | 1 - app/views/reports/dailysale/index.html.erb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/sale.rb b/app/models/sale.rb index 7397383a..f216a34c 100755 --- a/app/models/sale.rb +++ b/app/models/sale.rb @@ -648,7 +648,6 @@ def self.get_by_shift_items(shift_sale_range, shift, from, to, status) total_grand_total = 0 other_charges = self.get_other_charges() - puts other_charges.to_json if shift.present? query = query.where("sales.shift_sale_id IN (?) and sale_status='completed'",shift.to_a) diff --git a/app/views/reports/dailysale/index.html.erb b/app/views/reports/dailysale/index.html.erb index aa464ab7..2ad4affc 100755 --- a/app/views/reports/dailysale/index.html.erb +++ b/app/views/reports/dailysale/index.html.erb @@ -19,7 +19,7 @@
-
+