- Refactored CalendarsLayout to remove session-based role checks, simplifying access control logic and streamlining user redirection for unauthorized access.
- Refactored CommissionTypesPage to use centralized permission checks, improved user feedback for access denial, and conditionally rendered components based on edit permissions.
- Updated ReservationStatus type to allow optional fields and improved dialog components with proper loading states and disabled buttons based on permissions.
- Refactored permissions handling in commissions and appointments components, replacing session-based checks with centralized role utility functions, improving loading states, and enhancing user feedback for access denial.
- Updated date formatting in several dashboard components (AssignedUserPerformanceStatsCard, DateRangePicker, PresenceRateCard, SalesRateCard, ReservationRangeChart, ReservationSummaryCards, UserPerformanceStatsCard) for consistency and readability.
- Refactored EventForm to use DatePickerDialog for date selection, replacing the popover calendar to resolve z-index issues.
- Ensured that deleted reservations do not show up in the "affectations" page.
- Refactored the recontact workflow to use appointment ID instead of date and time slot, enhanced permissions handling in DELETE requests, and updated related API methods.
- Fixed a bug where users were unable to create events due to forbidden access
Responsable: Carim
Date: 11/05/2025