@if (dettaglioFattura && dettaglioFattura.length > 0) {
{{ 'label.fatture.dettaglio_table.n' | translate }} {{ 'label.fatture.dettaglio_table.descrizione' | translate }} {{ 'label.fatture.dettaglio_table.qta' | translate }} {{ 'label.fatture.dettaglio_table.prezzo_unit' | translate }} {{ 'label.fatture.dettaglio_table.iva_perc' | translate }} {{ 'label.fatture.dettaglio_table.sc_mg' | translate }} {{ 'label.fatture.dettaglio_table.totale' | translate }} @if (!isAttiva) { {{ 'label.fatture.dettaglio_table.cantiere' | translate }} } @if (!isAttiva) { {{ 'label.fatture.dettaglio_table.centro_costo' | translate }} } @if (!isAttiva) { {{ 'label.fatture.dettaglio_table.anno_comp' | translate }} } @if (showDDTColumn) { {{ 'label.fatture.dettaglio_table.ddt' | translate }} } @if (!isViewMode && !isRiconvalida) { {{ 'label.fatture.dettaglio_table.azioni' | translate }} } {{ riga.numeroLinea }} @if (isViewMode || isRiconvalida) { {{ riga.descrizione }} } @if (!isViewMode && !isRiconvalida) { } @if (isViewMode || isRiconvalida) { {{ riga.quantita }} } @if (!isViewMode && !isRiconvalida) { } @if (isViewMode || isRiconvalida) { {{ riga.prezzoUnitario | number: '1.2-2' : 'it-IT' }} } @if (!isViewMode && !isRiconvalida) { } @if (isViewMode || isRiconvalida) { {{ riga.aliquotaIVA }} } @if (!isViewMode && !isRiconvalida) { } @if (isViewMode || isRiconvalida) { {{ getScontoPercentuale(riga) != null ? getScontoPercentuale(riga) + '%' : '' }} } @if (!isViewMode && !isRiconvalida) { } @if (isViewMode) { {{ riga.prezzoTotale | number: '1.2-2' : 'it-IT' }} } @if (!isViewMode) { } @if (!isAttiva) { @if (isViewMode) { {{ getCantiereName(riga.idCantiere) }} } @if (!isViewMode) { } } @if (showVehicleColumn) { @if (isViewMode) { {{ getVehiclePlate(riga.vehicleId) }} } @if (!isViewMode) { {{ item.v_plate }} {{ item.v_plate }} - {{ item.v_brand }} {{ item.v_model }} } } @if (showVociCostoColumn) { @if (isViewMode) { {{ getVehicleCostName(riga.vehicleCostId) }} } @if (!isViewMode) { } } @if (!isAttiva && showCategoriaColumn) { @if (isViewMode) { {{ getCategoriaName(riga.idCategoria) }} } @if (!isViewMode) { } } @if (!isAttiva) { @if (isViewMode) { {{ riga.annoCompetenza }} } @if (!isViewMode) { } } @if (showDDTColumn) { @if (riga.ddtAssociatoId && riga.ddtAssociatoId > 0) { } @if (!isViewMode && riga.daRicontrollare) { } @if (!isViewMode && hasCantiereMismatch(riga)) { } @if (riga.numeroDDT && (!riga.ddtAssociatoId || riga.ddtAssociatoId <= 0)) { } @if (!riga.numeroDDT) { } } @if (!isViewMode && !isRiconvalida) {
@if (showSpostaButton) { }
}
{{ 'label.fatture.dettaglio_table.nessuna_riga' | translate }}
} @else {
{{ 'label.fatture.dettaglio_table.nessun_dettaglio' | translate }}
} @if (getDatiCassaPrevArray().length > 0 || editableCassaPrev) {
{{ 'label.fatture.dettaglio_table.cassa_prev' | translate }}
@if (editableCassaPrev) { } @for (cassa of getDatiCassaPrevArray(); track cassa; let i = $index) { @if (editableCassaPrev) { } }
{{ 'label.fatture.dettaglio_table.cassa_tipo' | translate }} {{ 'label.fatture.dettaglio_table.cassa_aliquota' | translate }} {{ 'label.fatture.dettaglio_table.cassa_imponibile' | translate }} {{ 'label.fatture.dettaglio_table.cassa_importo' | translate }} {{ 'label.fatture.dettaglio_table.cassa_iva' | translate }} {{ 'label.fatture.dettaglio_table.cassa_ritenuta' | translate }}
@if (!editableCassaPrev) { {{ ('cassa.tipo.' + (cassa.tipoCassa || '')) | translate }} ({{ cassa.tipoCassa }}) } @else { {{ ('cassa.tipo.' + opt.value) | translate }} ({{ opt.value }}) {{ ('cassa.tipo.' + opt.value) | translate }} ({{ opt.value }}) } @if (!editableCassaPrev) { {{ (cassa.alCassa || 0) | number: '1.2-2' : 'it-IT' }}% } @else { } @if (!editableCassaPrev) { {{ (cassa.imponibileCassa || 0) | currency: 'EUR' }} } @else { } @if (!editableCassaPrev) { {{ (cassa.importoContributoCassa || 0) | currency: 'EUR' }} } @else { } @if (!editableCassaPrev) { {{ (cassa.aliquotaIVA || 0) | number: '1.2-2' : 'it-IT' }}% } @else { } @if (!editableCassaPrev) { @if (cassa.ritenuta === 'SI') { SI } @if (cassa.ritenuta !== 'SI') { } } @else { }
@if (editableCassaPrev) {
}
} @if (hasQuadraturaWarning()) {
{{ 'label.fatture.dettaglio_table.warning_quadratura' | translate }} {{ 'label.fatture.dettaglio_table.warning_quadratura_dett' | translate }} ({{ 'label.fatture.dettaglio_table.imponibile_fattura' | translate }}: {{ imponibileFattura | currency: 'EUR' }}, {{ 'label.fatture.dettaglio_table.righe_piu_casse' | translate }}: {{ getTotaliDettaglio().imponibileTotale | currency: 'EUR' }}, {{ 'label.fatture.dettaglio_table.differenza' | translate }}: {{ getDifferenzaQuadratura() | currency: 'EUR' }})
} @if (showTotals && dettaglioFattura && dettaglioFattura.length > 0) {
{{ 'label.fatture.dettaglio_table.riepilogo' | translate }}
{{ 'label.fatture.dettaglio_table.qta_totale' | translate }} {{ getTotaliDettaglio().quantitaTotale | number: '1.2-2' : 'it-IT' }}
{{ 'label.fatture.dettaglio_table.imponibile' | translate }} {{ getTotaliDettaglio().imponibileTotale | currency: 'EUR' }}
{{ 'label.fatture.dettaglio_table.iva' | translate }} {{ getTotaliDettaglio().ivaTotale | currency: 'EUR' }}
{{ 'label.fatture.dettaglio_table.totale_label' | translate }} {{ getTotaliDettaglio().totaleTotale | currency: 'EUR' }}
} @if (showAddButton && !isViewMode && !isRiconvalida) {
} @if (showDDTPdfViewer && selectedDDTDrflId) { }