Merge branch dev into features/notifications

This commit is contained in:
Giovanni committed 2026-03-19 09:56:35 +01:00
commit 75d80985ff
30 files changed
+1012 -80

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
<?php
namespace App\Services;
use Carbon\Carbon;
class FormatDate
{
public static function formatDate($date){
return Carbon::parse($date)->format('d/m/Y, H:i');
}
}
+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",