Flesh out work items in the UI
Build and Publish Docker Container / build (push) Successful in 5m43s
Build and Publish Docker Container / build (push) Successful in 5m43s
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
module Trackable
|
||||
def total_overall_time
|
||||
tracked_time_entries.sum(&:duration)
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module CourseItem
|
||||
def week_number
|
||||
((start_time.beginning_of_week - course.semester_start_date.to_time) / 1.week).floor + 1
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user