add print job for qr pay
This commit is contained in:
@@ -239,6 +239,8 @@ class Foodcourt::QrpayController < BaseFoodcourtController
|
||||
qrpayment_service = QrPaymentService.new(sale_id, current_login_employee)
|
||||
result = qrpayment_service.process
|
||||
|
||||
PrintReceiptJob.perform_later(current_shop.shop_code, sale_id)
|
||||
|
||||
if result[:status]
|
||||
render json: result, status: :ok
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user