mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-12 18:22:16 +01:00
Added filled gaps to time entry aggregation; Moved aggregation to service
This commit is contained in:
@@ -33,7 +33,7 @@ class TaskIndexRequest extends FormRequest
|
||||
$builder = $builder->whereBelongsTo($this->organization, 'organization');
|
||||
|
||||
if (! app(PermissionStore::class)->has($this->organization, 'tasks:view:all')) {
|
||||
$builder = $builder->visibleByUser(Auth::user());
|
||||
$builder = $builder->visibleByEmployee(Auth::user());
|
||||
}
|
||||
|
||||
return $builder;
|
||||
|
||||
Reference in New Issue
Block a user