update customer
This commit is contained in:
@@ -23,6 +23,7 @@ class ShiftSale < ApplicationRecord
|
||||
puts today_date
|
||||
shift = ShiftSale.where("DATE(shift_started_at)= #{ today_date } and shift_started_at is not null and shift_closed_at is null and employee_id = #{current_user}").take
|
||||
|
||||
|
||||
return shift
|
||||
#end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user