cancel qr print

This commit is contained in:
Dev Team
2025-06-30 14:22:53 +06:30
committed by DevTeam
parent 14905f3368
commit 29d4bfd992

View File

@@ -38,6 +38,7 @@ class PrintReceiptJob < ApplicationJob
other_amount = SaleItem.calculate_other_charges(sale_items)
printer = Printer::ReceiptPrinter.new(print_settings)
byebug
if saleObj.sale_status == 'completed'
printer.print_receipt_bill(print_settings, false, nil, cashier_terminal, sale_items, saleObj, customer.paypar_account_no, item_price_by_accounts, discount_price_by_accounts, member_info, rebate_amount, current_shop, 'paid', current_balance, card_data, other_amount, latest_order_no, card_balance_amount, nil, transaction_ref)
elsif saleObj.generic_void?