Skip to content

VSN-2813/ feat(driver-absence): add 48h rule for absence declaration and justification tracking

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

Changes :

  • Add 48h working-hours validation for mobile declarations (APPLICATION reception mode): blocks creation if absence starts within 48 working hours, forces phone call instead
  • Add cron job to automatically mark absences as NOT_JUSTIFIED + CANCELLED when no justification document is provided within 48h of creation
  • Fix LEAVE request validation in updateDriverAbsence and updateDriverAbsenceByUuid to allow absenceMotif as an alternative to leaveType
  • Include CANCELLED status in the processed absences endpoint
  • Map justificationStatus and supportingDocumentUuid in DriverAbsenceMapper.toDto
  • Fix hydrateJustificationFileUrl to skip document lookup when supportingDocumentId is 0 or null

Rapports de requête de fusion