fix : second display layout
- show item and QR seperately - show total amount and receipt no on the ui
This commit is contained in:
@@ -244,7 +244,7 @@ class Foodcourt::QrpayController < BaseFoodcourtController
|
||||
# size: 240 # Approximate size of the image in pixels (e.g., 240x240)
|
||||
# ).to_s
|
||||
|
||||
ActionCable.server.broadcast('second_display_view_channel', { data: @qr_string, qr_svg: @qr_svg })
|
||||
ActionCable.server.broadcast('second_display_view_channel', { data: @qr_string, qr_svg: @qr_svg, grand_total: @sale_data.grand_total, invoice_no: @sale_data.receipt_no })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user