multiple zone with cashier terminal call waiter noti
This commit is contained in:
@@ -11,8 +11,8 @@ class Origami::HomeController < BaseOrigamiController
|
||||
|
||||
@customers = Customer.pluck("customer_id, name")
|
||||
@shop = shop_detail
|
||||
@occupied_table = DiningFacility.where("status='occupied'").count;
|
||||
# @shift = ShiftSale.current_open_shift(current_user.id)
|
||||
@occupied_table = DiningFacility.where("status='occupied'").count
|
||||
@shift = ShiftSale.current_open_shift(current_user.id)
|
||||
end
|
||||
|
||||
# origami table detail
|
||||
@@ -24,6 +24,7 @@ class Origami::HomeController < BaseOrigamiController
|
||||
@complete = Sale.completed_sale("cashier")
|
||||
@orders = Order.includes("sale_orders").where("DATE_FORMAT(date,'%Y-%m-%d') = ? and status != 'billed' and source != 'quick_service'",DateTime.now.strftime('%Y-%m-%d')).order('date desc')
|
||||
@customers = Customer.pluck("customer_id, name")
|
||||
@shift = ShiftSale.current_open_shift(current_user.id)
|
||||
|
||||
@status_order = ""
|
||||
@status_sale = ""
|
||||
|
||||
Reference in New Issue
Block a user