@if (duplicate) {

{{ 'POP_UPS.DUPLICATE' | translate }}

} @else {

{{ (isEstimate ? 'INVOICES_PAGE.EDIT_ESTIMATE' : 'INVOICES_PAGE.EDIT_INVOICE' ) | translate }}

@if (!isEstimate) {
}
}
{{ 'INVOICES_PAGE.DISCOUNT' | translate }}
@for ( discountTaxType of discountTaxTypes ; track discountTaxType) { {{ 'INVOICES_PAGE.' + discountTaxType | translate }} }
{{ 'INVOICES_PAGE.INVOICES_TAXES' | translate }}
@for ( discountTaxType of discountTaxTypes ; track discountTaxType) { {{ 'INVOICES_PAGE.' + discountTaxType | translate }} }
@for ( discountTaxType of discountTaxTypes ; track discountTaxType) { {{ 'INVOICES_PAGE.' + discountTaxType | translate }} }
{{ 'INVOICES_PAGE.APPLY_DISCOUNT_AFTER_TAX' | translate }}
@if (shouldLoadTable) {
@if (smartTableSource) { }
{{ 'INVOICES_PAGE.SUBTOTAL' | translate }}: {{ currency.value }} {{ subtotal.toFixed(2) }}
{{ 'INVOICES_PAGE.TOTAL' | translate }}: {{ currency.value }} {{ total.toFixed(2) }}
@if ( isRemainingAmount || invoice.hasRemainingAmountInvoiced ) {
{{ 'INVOICES_PAGE.ALREADY_PAID' | translate }}: {{ currency.value }} {{ alreadyPaid.toFixed(2) }}
{{ 'INVOICES_PAGE.AMOUNT_DUE' | translate }}: {{ currency.value }} {{ amountDue.toFixed(2) }}
}
} @if (invoice) { }
@if (!duplicate) { }