edit in check time

This commit is contained in:
San Wai Lwin
2018-08-14 15:22:49 +06:30
parent 671aa155cd
commit 61e4b930c8
7 changed files with 20 additions and 25 deletions

View File

@@ -299,7 +299,7 @@ class Printer::OrderQueuePrinter < Printer::PrinterWorker
end
# Check in-out time
def print_check_in_out(print_settings, terminal, booking, table)
def print_check_in_out(print_settings, cashier_terminal, booking, table)
#Use CUPS service
#Generate PDF
#Print
@@ -330,7 +330,7 @@ class Printer::OrderQueuePrinter < Printer::PrinterWorker
#no print in cloud server
if ENV["SERVER_MODE"] != "cloud"
self.print(filename, terminal.printer_name)
self.print(filename, cashier_terminal.printer_name)
end
end
end