Associa Dipendenti Sede - {{ loc.of_place || 'Caricamento...' }}
Dipendenti Disponibili ({{ filteredAvailableList.length }})
@for (it of filteredAvailableList; track it.emId) {
{{ it.emFirstname }} {{ it.emLastname }}
} @if (filteredAvailableList.length === 0) {

Nessun dipendente disponibile

}
Dipendenti Assegnati ({{ assignedList.length }})
@for (it of assignedList; track it.emId) {
{{ it.emFirstname }} {{ it.emLastname }}
dal {{ formatDate(it.dateStart) }} @if (it.dateEnd) { al {{ formatDate(it.dateEnd) }} } @if (!it.dateEnd) { (in corso) }
} @if (assignedList.length === 0) {

Nessun dipendente assegnato

}
Storico associazioni ({{ historical.length }})
@if (showHistory) {
@if (historical.length === 0) {
Nessuna associazione storica
} @if (historical.length > 0) {
@for (h of historical; track h) { }
DipendenteDalAlStato
{{ h.emFirstname }} {{ h.emLastname }} {{ formatDate(h.dateStart) }} {{ h.dateEnd ? formatDate(h.dateEnd) : '—' }}
}
}
@if (selectedItem) {

{{ selectedItem.emFirstname }} {{ selectedItem.emLastname }}
Sede: {{ loc.of_place }}

}