update rounding adj

This commit is contained in:
Aung Myo
2017-07-01 18:19:41 +06:30
parent 40a2347c1b
commit 740f585a31
17 changed files with 230 additions and 15 deletions

View File

@@ -80,6 +80,16 @@ class Printer::ReceiptPrinter < Printer::PrinterWorker
end until count == 0
end
#Bill Receipt Print
def print_close_cashier(printer_settings,shift_sale,shop_details)
#Use CUPS service
#Generate PDF
#Print
pdf = CloseCashierPdf.new(printer_settings,shift_sale,shop_details)
pdf.render_file "tmp/print_close_cashier.pdf"
self.print("tmp/print_close_cashier.pdf")
end
#Queue No Print
def print_queue_no(printer_settings,queue)
#Use CUPS service