Commit c5e74175 by Van Hau Le

Update activity name

parent fd780ea7
Pipeline #76 failed with stages
in 0 seconds
......@@ -33,7 +33,7 @@ class TimeEntryActivity < Enumeration
].freeze
SUPPORT_ACTIVITIES = [
"Communication", "Project Management", "Leave Off", "Idle", "Company Meeting", "Support", "Others"
"Communication", "Project Management", "Annual Leave Off", "Idle", "Company Meeting", "Support", "Others", "Public holiday"
].freeze
def option_name
......@@ -53,7 +53,7 @@ class TimeEntryActivity < Enumeration
end
def is_activity_for_task?
TASK_BUGS_ACTIVITIES.include? name
TASK_BUGS_ACTIVITIES.include? name&.strip
end
def is_activity_for_support?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment