Read NFC
This commit is contained in:
@@ -21,7 +21,7 @@ class Origami::CashInsController < BaseOrigamiController
|
||||
shift = shift
|
||||
else
|
||||
|
||||
open_cashier = Employee.where("shop_code='#{@shop.shop_code}' and role = 'cashier' AND token_session <> ''")
|
||||
open_cashier = Employee.where("role = 'cashier' AND token_session <> ''")
|
||||
if open_cashier.count>0
|
||||
shift = ShiftSale.current_open_shift(open_cashier[0])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user