complete story 1.3 with qa test & added future recommendations to the dev

This commit is contained in:
Naser Mansour
2025-12-26 14:04:24 +02:00
parent 84d9c2f66a
commit ebb6841ed0
29 changed files with 760 additions and 101 deletions
+8
View File
@@ -109,6 +109,14 @@ class User extends Authenticatable
return $this->isIndividual() || $this->isCompany();
}
/**
* Check if user is active.
*/
public function isActive(): bool
{
return $this->status === UserStatus::Active;
}
/**
* Scope to filter admin users.
*/