update other charge add to recipt bill and close pdf

This commit is contained in:
Aung Myo
2018-07-10 15:16:49 +06:30
parent 82ede72f34
commit 5c8fd3666d
9 changed files with 74 additions and 17 deletions

View File

@@ -101,7 +101,7 @@ class Origami::ShiftsController < BaseOrigamiController
print_settings = PrintSetting.find_by_unique_code(unique_code)
printer = Printer::CashierStationPrinter.new(print_settings)
printer.print_close_cashier(print_settings,cashier_terminal,@shift,shop_details,@sale_taxes,@other_payment,@total_amount_by_account,@total_discount_by_account,@total_member_discount,@total_dinein,@total_takeway,@total_other_charges,@total_waste,@total_spoile)
printer.print_close_cashier(print_settings,cashier_terminal,@shift,shop_details,@sale_taxes,@other_payment,@total_amount_by_account,@total_discount_by_account,@total_member_discount,@total_dinein,@total_takeway,@total_other_charges,@total_waste,@total_spoile )
end
end
Employee.logout(session[:session_token])