Misc unrelated updates

This commit is contained in:
Codex Agent
2026-01-12 10:31:31 +01:00
parent 2cb5171420
commit b23331d069
40 changed files with 433 additions and 267 deletions

View File

@@ -12,12 +12,11 @@ class PurchaseHistoryPolicy
public function viewAny(User $user): bool
{
return $user->role === 'super_admin';
return $user->isSuperAdmin();
}
public function view(User $user, PurchaseHistory $purchaseHistory): bool
{
return $user->role === 'super_admin';
return $user->isSuperAdmin();
}
}