shift sale item pdf
This commit is contained in:
@@ -37,8 +37,7 @@ class Printer::CashierStationPrinter < Printer::PrinterWorker
|
||||
# pdf.render_file filename
|
||||
# self.print(filename, cashier_terminal.printer_name)
|
||||
# end
|
||||
# <<<<<<< HEAD
|
||||
|
||||
|
||||
def print_close_cashier(printer_settings,cashier_terminal,shift_sale, sale_items,shop_details,sale_taxes,other_payment,amount,discount,member_discount,total_dinein,total_takeway,total_other_charges,total_waste,total_spoile,total_credit_payments)
|
||||
|
||||
if !sale_items.blank? or !sale_items.nil?
|
||||
@@ -53,10 +52,6 @@ class Printer::CashierStationPrinter < Printer::PrinterWorker
|
||||
@totalByAccount = Hash.new {|hash, key| hash[key] = 0}
|
||||
sale_items.each {|acc| @totalByAccount[acc.account_id] += acc.grand_total}
|
||||
end
|
||||
# =======
|
||||
|
||||
# def print_close_cashier(printer_settings,cashier_terminal,shift_sale,shop_details,sale_taxes,other_payment,amount,discount,member_discount,total_dinein,total_takeway,total_other_charges,total_waste,total_spoile,total_credit_payments)
|
||||
# >>>>>>> 6c45e8f0a32a9e71992bde41d20ef993b668c42d
|
||||
|
||||
#Use CUPS service
|
||||
#Generate PDF
|
||||
|
||||
Reference in New Issue
Block a user