Edit for checkin pdf

This commit is contained in:
San Wai Lwin
2018-08-13 14:37:41 +06:30
parent a282279ba2
commit 671aa155cd
5 changed files with 20 additions and 7 deletions

View File

@@ -299,7 +299,7 @@ class Printer::OrderQueuePrinter < Printer::PrinterWorker
end
# Check in-out time
def print_check_in_out(print_settings,booking, table)
def print_check_in_out(print_settings, 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, print_settings.printer_name)
self.print(filename, terminal.printer_name)
end
end
end