Disponibilità Default Azienda @for (op of operators; track op) { {{ op.em_firstname }} {{ op.em_lastname }} } @if (usingDefault) {
Usa il template di default dell'azienda
}
Template Settimanale
@if (templateLoading) {
} @if (!templateLoading) { @for (day of days; track day) { {{ day.label }} @if (day.active) {

{{ day.startTime }} - {{ day.endTime }}

} @if (!day.active) {

Non disponibile

}
@if (day.active) {
}
}
}
Salva Template @if (hasCustom && selectedOperatorId > 0) { Default }
@if (selectedOperatorId > 0) {
Eccezioni
@if (exceptionsLoading) {
} @if (!exceptionsLoading && exceptions.length === 0) {
Nessuna eccezione configurata
} @if (exceptions.length > 0) { @for (exc of exceptions; track exc) {

{{ formatDate(exc.ae_date) }}

{{ exc.ae_type === 'BLOCKED' ? 'Bloccato' : 'Personalizzato' }} @if (exc.ae_start_time) { · {{ exc.ae_start_time }} - {{ exc.ae_end_time }} }

@if (exc.ae_reason) {

{{ exc.ae_reason }}

}
}
}
}
Nuova Eccezione Chiudi Data * Bloccato (giorno intero) Personalizzato (orari custom) @if (newException.ae_type === 'CUSTOM') { Ora Inizio } @if (newException.ae_type === 'CUSTOM') { Ora Fine } Salva Eccezione