create a mail when the role of the user is updated

This commit is contained in:
2026-03-18 09:53:42 +01:00
parent c3fb0ec094
commit 96973f7884
4 changed files with 105 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ class GetRole
{
public static function getRole($role)
{
$role = (int)$role;
return match ($role) {
1 => "Président",
2 => "Gérant",