print_channel with shop_code
This commit is contained in:
@@ -87,7 +87,7 @@ class Printer::CashierStationPrinter < Printer::PrinterWorker
|
||||
if print_settings.unique_code == "SaleItemsPdf"
|
||||
pdf = SaleItemsPdf.new(print_settings, shop_details, period_name, type, account, from_date, to_date, shift_name, sale_items, total_other_charges)
|
||||
|
||||
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