Add Room and Table Moving

This commit is contained in:
San Wai Lwin
2018-03-26 18:05:09 +06:30
parent 186353acb0
commit c602988f42
4 changed files with 91 additions and 0 deletions

View File

@@ -238,6 +238,16 @@ class Printer::ReceiptPrinter < Printer::PrinterWorker
self.print("tmp/print_queue_no.pdf")
end
#Move Table Print
def print_move_table(printer_settings,to,from,shop_detail,date,type)
#Use CUPS service
#Generate PDF
#Print
pdf = MoveTablePdf.new(printer_settings,to,from,shop_detail,date,type)
pdf.render_file "tmp/print_move_table.pdf"
self.print("tmp/print_move_table.pdf")
end
#Bill Receipt Print
def print_crm_order(booking,order_items,setting)
#Use CUPS service