Read NFC
This commit is contained in:
@@ -212,7 +212,7 @@ class Order < ApplicationRecord
|
||||
def self.pay_process_order_queue(id,table_id)
|
||||
# if ENV["SERVER_MODE"] != 'cloud'
|
||||
order = Order.find(id)
|
||||
sidekiq = Lookup.find_by_lookup_type_and_shop_code("sidekiq",order.shop_code)
|
||||
sidekiq = Lookup.find_by_lookup_type("sidekiq")
|
||||
if !sidekiq.nil?
|
||||
OrderQueueProcessorJob.perform_later(id, table_id)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user