Module: Admin::UnenteredTimeReportHelper

Defined in:
app/helpers/admin/unentered_time_report_helper.rb

Instance Method Summary collapse

Instance Method Details

#hours_entered_for_day(time) ⇒ Object



2
3
4
5
6
7
8
# File 'app/helpers/admin/unentered_time_report_helper.rb', line 2

def hours_entered_for_day time
  hours = 0
  @users.each do |u|
    hours += u.hours_entered_for_day(time)
  end
  hours
end