wip
This commit is contained in:
1 parent
2cb88a4290
commit
ff672c3371
21 files changed
+261
-73
No files matched your search
@@ -13,6 +13,8 @@ class KontoScope implements Scope
|
||||
*/
|
||||
public function apply(Builder $builder, Model $model): void
|
||||
{
|
||||
$builder->where('konto_id', auth()->user()->konto_id);
|
||||
if (auth()->hasUser()) {
|
||||
$builder->where('konto_id', auth()->user()->konto_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user