update daily sale view

This commit is contained in:
Aung Myo
2017-12-01 12:07:03 +06:30
parent dbd3e3e69b
commit 3133248df0
2 changed files with 1 additions and 2 deletions

View File

@@ -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)