This commit is contained in:
Masroor Ehsan 2025-01-29 14:54:05 +06:00
parent 3ea8245f85
commit db4a6901a4

View File

@ -144,7 +144,7 @@ public function radiologistProfile(): HasOne
public function canAccessPanel(Panel $panel): bool public function canAccessPanel(Panel $panel): bool
{ {
return $this->isAdmin(); return $this->isAdmin() && $this->is_active;
} }
public function panels(): HasManyThrough public function panels(): HasManyThrough