mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 11:42:15 +01:00
Add time entry aggregation type “description”
This commit is contained in:
committed by
Constantin Graf
parent
d4e71e7c2c
commit
5e4270e3f5
@@ -15,6 +15,7 @@ enum TimeEntryAggregationType: string
|
||||
case Task = 'task';
|
||||
case Client = 'client';
|
||||
case Billable = 'billable';
|
||||
case Description = 'description';
|
||||
|
||||
public function toInterval(): ?TimeEntryAggregationTypeInterval
|
||||
{
|
||||
|
||||
@@ -270,6 +270,8 @@ class TimeEntryAggregationService
|
||||
return 'client_id';
|
||||
} elseif ($group === TimeEntryAggregationType::Billable) {
|
||||
return 'billable';
|
||||
} elseif ($group === TimeEntryAggregationType::Description) {
|
||||
return 'description';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user