{{ 'labels.heading.Edit Holiday' | translate }}

{{ 'labels.heading.Holiday Details' | translate }}

{{ 'labels.inputs.name' | translate }} @if (holidayForm.controls.name.hasError('required')) { {{ 'labels.inputs.name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Description' | translate }} @if (!isActiveHoliday) { {{ 'labels.inputs.From Date' | translate }} @if (holidayForm.controls.fromDate.hasError('required')) { {{ 'labels.inputs.From Date' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } } @if (!isActiveHoliday) { {{ 'labels.inputs.To Date' | translate }} @if (holidayForm.controls.toDate.hasError('required')) { {{ 'labels.inputs.To Date' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } }
@if (!isActiveHoliday) {

{{ 'labels.heading.Scheduling' | translate }}

{{ 'labels.inputs.Repayment Scheduling Type' | translate }} @for (repayments of holidayData.repaymentSchedulingTypes; track repayments) { {{ repayments.value }} } @if (holidayForm.controls.reschedulingType.hasError('required')) { {{ 'labels.inputs.Repayment Scheduling Type' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (reSchedulingType === 2) { {{ 'labels.inputs.Repayment scheduled to' | translate }} @if (holidayForm.controls.repaymentsRescheduledTo.hasError('required')) { {{ 'labels.inputs.Repayment scheduled to' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } }
}