From d4d27dfc1ec0aca2d8f50f0778c8c61ab0b2e95b Mon Sep 17 00:00:00 2001 From: Thein Lin Kyaw Date: Fri, 28 Aug 2020 14:52:57 +0630 Subject: [PATCH] use oqs printer name --- app/models/printer/order_queue_printer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/printer/order_queue_printer.rb b/app/models/printer/order_queue_printer.rb index 84ef703c..e254a775 100755 --- a/app/models/printer/order_queue_printer.rb +++ b/app/models/printer/order_queue_printer.rb @@ -28,7 +28,7 @@ class Printer::OrderQueuePrinter < Printer::PrinterWorker end else ActionCable.server.broadcast("print_channel_#{Shop.current_shop.shop_code}", - queue: oqs.station_name, + queue: oqs.printer_name, unique_code: print_settings.unique_code, print_copies: print_settings.print_copies, data: { @@ -73,7 +73,7 @@ class Printer::OrderQueuePrinter < Printer::PrinterWorker end else ActionCable.server.broadcast("print_channel_#{Shop.current_shop.shop_code}", - queue: oqs.station_name, + queue: oqs.printer_name, unique_code: print_settings.unique_code, print_copies: print_settings.print_copies, data: {