{{ (isQuoteRequest ? 'Nuova Richiesta Preventivo' : 'Nuova Richiesta Appuntamento') | translate }}
1 {{ 'Servizi' | translate }}
2 {{ 'Dettagli' | translate }}
3 {{ 'Conferma' | translate }}
@if (currentStep === 1) {
{{ 'Seleziona i servizi desiderati' | translate }}

{{ 'Puoi selezionare più servizi: la durata verrà sommata automaticamente.' | translate }}

@for (group of groupedServiceTypes; track group.category_name) { @if (groupedServiceTypes.length > 1) {
{{ group.category_name }}
}
@for (st of group.services; track st.st_id) {
{{ st.st_name }}

{{ st.st_description }}

{{ st.st_duration_minutes }} min @if (st.st_requires_attachments) { {{ 'Foto richieste' | translate }} }
}
} @if (serviceTypes.length === 0) {

{{ 'Nessun servizio disponibile' | translate }}

} @if (selectedServiceTypes.length > 0) {
{{ 'Servizi selezionati' | translate }}:
@for (st of selectedServiceTypes; track st.st_id) { }
{{ 'Durata totale' | translate }}
{{ totalDurationMinutes }} min
} } @if (currentStep === 2 && primaryServiceType) {
@for (st of selectedServiceTypes; track st.st_id) { {{ st.st_name }} ({{ st.st_duration_minutes }} min) }
{{ 'Totale' | translate }}: {{ totalDurationMinutes }} min
@if (primaryServiceType.st_mode === 'SLOT_FISSO') {
{{ 'Seleziona una data' | translate }}
@if (loadingSlots) {
{{ 'Caricamento slot...' | translate }}
} @if (!loadingSlots && groupedSlots.length === 0 && freeSlots.length === 0) {

{{ 'Nessuno slot disponibile nel periodo selezionato' | translate }}

} @if (!loadingSlots && groupedSlots.length > 0) {
@for (group of groupedSlots; track group.date) {
{{ group.dateLabel }} {{ getAvailableCount(group) }} disponibili
@if (selectedDate === group.date) {
@if (group.morning.length > 0) {
@for (slot of group.morning; track slot.start_time + slot.operator_em_id) {
{{ slot.start_time.substring(0, 5) }}
}
} @if (group.afternoon.length > 0) {
@for (slot of group.afternoon; track slot.start_time + slot.operator_em_id) {
{{ slot.start_time.substring(0, 5) }}
}
}
} }
} } @if (primaryServiceType.st_mode === 'SU_RICHIESTA') {
{{ 'Descrivi la tua richiesta' | translate }}
@if (pendingFiles.length > 0) {
@for (file of pendingFiles; track $index) { }
}
} @if (primaryServiceType.st_mode === 'SU_PREVENTIVO') {
{{ 'Descrivi la richiesta di preventivo' | translate }}
@if (pendingFiles.length > 0) {
@for (file of pendingFiles; track $index) { }
}
} } @if (currentStep === 3 && primaryServiceType) {
{{ 'Riepilogo Richiesta' | translate }}
@for (st of selectedServiceTypes; track st.st_id) { {{ st.st_name }} ({{ st.st_duration_minutes }} min) }
{{ totalDurationMinutes }} min
@if (primaryServiceType.st_mode === 'SLOT_FISSO' && selectedSlot) {
{{ formatDateItalian(selectedSlot.date) }}
{{ selectedSlot.start_time.substring(0, 5) }}
} @if (primaryServiceType.st_mode === 'SU_RICHIESTA') {
{{ preferredDate ? (preferredDate | date:'dd/MM/yyyy') : '-' }}
{{ preferredTime ? (preferredTime | date:'HH:mm') : '-' }}
}
@if ((primaryServiceType.st_mode === 'SU_RICHIESTA' || primaryServiceType.st_mode === 'SU_PREVENTIVO') && problemDescription) {
{{ problemDescription }}
} @if (pendingFiles.length > 0) {
@for (file of pendingFiles; track $index) { }
} @if (primaryServiceType.st_mode === 'SLOT_FISSO') {
}
}