14 lines
570 B
Ruby
14 lines
570 B
Ruby
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
|
|
end
|