Skip to content

VSN-2813/ feat(absence) : refactor absence declaration module

fatima senan a demandé de fusionner feature/VSN-2813 vers develop

Changes :

  • Absence category selector (SANTE, FAMILLE, CONGES, OBLIGATIONS_LEGALES,...) with motif picker filtered by selected category
  • Justification status selector (JUSTIFIED / NOT_JUSTIFIED / TOLERATED) — mandatory in the form
  • Per-day time selection when the absence spans multiple days, with "copy to all" shortcut
  • Edit screen for pending/in-progress absences (pre-populated form)
  • CANCELLED status support
  • Document upload for justified absences (PDF, JPG, PNG, HEIC)
  • Auto-refresh of the detail screen on focus via useFocusEffect
  • "Modifier" button in the detail screen for editable absences
  • Extracted buildDailyHours, getDatesInRange, countWorkingHoursUntil to shared/utils/absenceUtils.ts
  • Added 5-minute cache on fetchDemandes with forceRefresh option for pull-to-refresh

Rapports de requête de fusion