@for (c of campi; track c; let i = $index) { {{ c?.label }} @if (c?.required && tipo_visualizzazione == 'form_file') { * } @switch (c?.type) { @case (0) { @if (!mode_search) { } @if (mode_search) { } } @case (1) { } @case (2) { @if (!mode_search) { } @if (mode_search) { } } @case (3) { } @case (15) { @if (initActivityValue(c)) {
@if (view) {
{{ c.value.presente ? 'Presente' : 'Assente' }} {{ getTotalOreAttivita(c) | number:'1.1-1' }} h totali
@if (c.value.attivita?.length) {
@for (a of c.value.attivita; track a) {
{{ a.descrizione || '—' }} {{ a.durata | number:'1.1-1' }} h
}
} @if (c.value.note) {
Note

{{ c.value.note }}

}
} @if (!view) {
Ore totali: {{ getTotalOreAttivita(c) | number:'1.1-1' }} h
@for (a of c.value.attivita; track a; let ri = $index) {
@if (!c.disabled) { }
}
@if (!c.disabled) { }
}
} } @default { } }
}