-
This commit is contained in:
@@ -47,7 +47,7 @@ class Foodcourt::SurveysController < BaseFoodcourtController
|
||||
# shift_by_terminal = ShiftSale.find_by_cashier_terminal_id_and_shift_closed_at(cashier_zone.cashier_terminal_id,nil)
|
||||
# set cashier
|
||||
open_cashier = Employee.where("role = 'cashier' AND token_session <> '' and shop_code='#{@shop.shop_code}'")
|
||||
current_shift = ShiftSale.current_shift(@shop.shop_code)
|
||||
current_shift = ShiftSale.current_shift
|
||||
current_shift_user =Employee.find_by_id(current_user.employee_id)
|
||||
if open_cashier.count>0
|
||||
shift_by_terminal = ShiftSale.current_open_shift(open_cashier[0])
|
||||
|
||||
Reference in New Issue
Block a user