Store information about a user’s worked hours for a specific cell - that is, a specific task and date range. ReportUserData objects are associated with ReportCells, and those cells deal with passing over hours to be included in the user data total.
Add the given work packet’s hours to the internal committed total.
# File lib/track_record_report.rb, line 1215 def add_committed_hours( packet ) @committed += packet.worked_hours end
Add the given work packet’s hours to the internal not committed total.
# File lib/track_record_report.rb, line 1221 def add_not_committed_hours( packet ) @not_committed += packet.worked_hours end