Added usage check to delete endpoints

This commit is contained in:
Constantin Graf
2024-04-18 21:42:29 +02:00
committed by Constantin Graf
parent 40f1159ea5
commit ad6146c483
18 changed files with 326 additions and 6 deletions

View File

@@ -202,4 +202,16 @@ return [
'currency' => 'The :attribute field must be a valid currency code (ISO 4217).',
'organization' => 'The :attribute does not exist.',
'task_belongs_to_project' => 'The :attribute is not part of the given project.',
'entities' => [
'organization' => 'organization',
'project' => 'project',
'task' => 'task',
'time_entry' => 'time entry',
'user' => 'user',
'client' => 'client',
'member' => 'member',
'project_member' => 'project member',
'tag' => 'tag',
],
];