The Rescheduling module lets you move vacation ranges that are approaching expiry — or that need to change for any reason — to a new set of dates. Only future ranges (those with a start date after today) can be rescheduled. Navigate to this module atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/CKoldo/Vacaciones-front/llms.txt
Use this file to discover all available pages before exploring further.
/reprogramaciones.
How rescheduling works
When a range is rescheduled:- The original range is marked as
reprogramadoand archived. It is no longer counted as active. - A new range is created with the new dates, referencing the original ranges it replaced via the
reprogramadoDesdefield. - The schedule’s day counters are updated to reflect the new allocation.
How to reschedule vacation ranges
Select an employee
Use the Personal dropdown to choose the employee whose vacations you want to reschedule. The system loads all their vacation schedules.
Review available ranges
Each schedule period is shown as a card. Within each card, a table lists the future active ranges eligible for rescheduling — only ranges whose start date is after today are shown.Ranges that are already in the past or already rescheduled are excluded from the table.
Select ranges to reschedule
Check the checkbox next to one or more ranges in the same schedule period. A summary panel appears at the bottom of the page showing how many ranges are selected and the total days available.
Click Reprogramar seleccionados
Click the Reprogramar seleccionados button in the summary panel. A dialog opens where you choose the rescheduling mode and enter the new dates.
Rescheduling modes
- Combinar en una sola vacación (uno)
- Mantener cantidad seleccionada (mantener)
All selected ranges are consolidated into a single new range. You enter one start date and one end date that covers the total days from all selected ranges.
- The new range can be shorter than the total days available — any remaining days are returned to the appropriate pool (flexible or block).
- If any of the original ranges were of type bloque, the new consolidated range is also treated as a bloque regardless of its length.
- The Friday rule applies: selecting a Friday as start or end date extends the range to Sunday automatically.
Validation and overlap detection
Before saving a reschedule, the system checks:- New dates must fall within the employee’s vacation period (between
fechaInicioAnioandfechaFinAnio) - Start date cannot be after end date
- The total days in the new ranges cannot exceed the total days of the original ranges
- New ranges must not overlap with other active ranges in the same schedule (the original ranges being replaced are excluded from this check)
What happens to the original ranges
Once a reschedule is confirmed:- Each original range receives
estado: "reprogramado"and areprogramadoPorvalue pointing to the new range’s ID. - The new range stores
reprogramadoDesde— a list of the original range IDs it replaced. - The schedule’s
diasFlexiblesUsadosanddiasBloqueUsadoscounters are recalculated to reflect the change.
Related modules
Vacation Scheduling
Create the vacation ranges that can later be rescheduled.
Vacation Overview
Review rescheduling history for any employee.
Administration
Assign ESINAD IDs to rescheduled records.
