@if (loadingLista && clienti.length === 0) {
Caricamento...
} @if (!loadingLista || clienti.length > 0) {
@for (c of clienti; track c) {
{{ c.cstName }}
{{ c.saldo | currency: 'EUR' }}
} @if (!loadingLista && clienti.length === 0) {
Nessun cliente trovato.
}
@if (totalRows > 0) { }
@if (clienteSelezionato; as cs) {
{{ cs.cstName }}
Somma fatture {{ dettaglioTotaleFatture | currency: 'EUR' }}
Somma incassi {{ dettaglioTotaleIncassi | currency: 'EUR' }}
Saldo a ns. credito {{ dettaglioSaldo | currency: 'EUR' }}
@if (loadingDettaglio) {
} @if (!loadingDettaglio) {
Fatture emesse
@for (f of dettaglioFatture; track f) { } @if (dettaglioFatture.length === 0) { } @if (dettaglioFatture.length > 0) { }
Data Fatture emesse Importo Apri
{{ formatDataIso(f.data) }} {{ f.descrizione }} {{ f.totale | currency: 'EUR' }}
Nessuna fattura.
@if (fatTotalRows > 0) {
{{ fatTotalRows }}
}
Incassi
@for (i of dettaglioIncassi; track i) { } @if (dettaglioIncassi.length === 0) { } @if (dettaglioIncassi.length > 0) { }
Data Incassi Importo
{{ formatDataIso(i.dataPagamento) }} {{ i.descrizione }} {{ i.importo | currency: 'EUR' }}
Nessun incasso.
@if (incTotalRows > 0) {
{{ incTotalRows }}
}
}
}
}