mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 11:12:16 +01:00
Added billable and project_id to time entry endpoints; Enhanced api docs; Added pagination
This commit is contained in:
@@ -188,12 +188,17 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => [],
|
||||
'attributes' => [
|
||||
'task_id' => 'task',
|
||||
'project_id' => 'project',
|
||||
'organization_id' => 'organization',
|
||||
],
|
||||
|
||||
/*
|
||||
* Custom validation rules
|
||||
*/
|
||||
|
||||
'color' => 'The :attribute field must be a valid color.',
|
||||
|
||||
'organization' => 'The :attribute does not exist.',
|
||||
'task_belongs_to_project' => 'The :attribute is not part of the given project.',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user