This commit is contained in:
salam committed 2025-09-10 09:49:36 +02:00
1 parent 2cb88a4290
commit ff672c3371
21 files changed
+261 -73

No files matched your search

+3 -1
View File
@@ -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);
}
}
}