merge with settings_backend
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
class OrderQueueStation < ApplicationRecord
|
||||
has_many :assigned_order_items
|
||||
has_many :order_items
|
||||
has_many :order_queue_process_by_zones
|
||||
has_many :zones, through: :order_queue_process_by_zones
|
||||
|
||||
scope :active, -> {where(is_active: true)}
|
||||
|
||||
@@ -22,7 +24,7 @@ class OrderQueueStation < ApplicationRecord
|
||||
#Loop through the processing items
|
||||
pq_items.each do |pq_item|
|
||||
#Processing through the looping items
|
||||
order_items.each do |order_item|
|
||||
order_items.each do |order_item|
|
||||
if (pq_item == order_item.item_code)
|
||||
if oqs.id == oqpbz.order_queue_station_id
|
||||
#Same Order_items can appear in two location.
|
||||
|
||||
Reference in New Issue
Block a user