print_channel with shop_code

This commit is contained in:
Thein Lin Kyaw
2020-08-06 14:05:20 +06:30
parent 4a2dd294ab
commit 61a1189083
6 changed files with 11 additions and 8 deletions

View File

@@ -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,