update filter order

This commit is contained in:
Aung Myo
2017-08-09 11:54:19 +06:30
parent 644b94764e
commit 729daeba7b
6 changed files with 154 additions and 22 deletions

View File

@@ -42,10 +42,6 @@ class Origami::ShiftsController < BaseOrigamiController
@total_amount_by_account = ShiftSale.calculate_total_price_by_accounts(@shift,'amount')
@total_discount_by_account = ShiftSale.calculate_total_price_by_accounts(@shift,'discount')
puts "sssssssssss"
puts @total_amount_by_account.to_json
# get printer info
print_settings=PrintSetting.find_by_unique_code(unique_code)