print_channel with shop_code
This commit is contained in:
@@ -132,7 +132,7 @@ class Origami::ShiftsController < BaseOrigamiController
|
||||
p "close cashier print<==============================="
|
||||
p @other_charges
|
||||
p @total_amount_by_account
|
||||
ActionCable.server.broadcast("print_channel",
|
||||
ActionCable.server.broadcast("print_channel_#{Shop.current_shop.shop_code}",
|
||||
queue: "Cashier",
|
||||
unique_code: print_settings.unique_code,
|
||||
print_copies: print_settings.print_copies,
|
||||
|
||||
Reference in New Issue
Block a user