deleted queue_items

This commit is contained in:
Yan
2017-05-31 13:42:44 +06:30
parent e46fe1ec7c
commit 0b8ec22976
3 changed files with 21 additions and 5 deletions

View File

@@ -1,5 +1,12 @@
class Oqs::HomeController < BaseOqsController
def index
@queue_stations=OrderQueueStation.all
# @queue_stations.each do |que|
# Contact.find(:all, :joins => ['left join sales s on s.customer_id = contacts.id'], :conditions => ["contact_type = 'Customer' AND name IS NOT NULL"],:group => ["contacts.id"])
# AssignedOrderItem.find(:all, :conditions=>["order_queue_station_id=#{que.id}"], :group => ["order_queue_station_id"])
# # AssignedOrderItem.where("order_queue_station_id = :que_id", {:que_id => que_id}).get
# end
end
def show
end