update customer

This commit is contained in:
Aung Myo
2017-06-30 19:41:39 +06:30
12 changed files with 42 additions and 25 deletions

View File

@@ -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