{{ (isEstimate ? 'INVOICES_PAGE.ADD_ESTIMATE' : 'INVOICES_PAGE.ADD_INVOICE') | translate }}

@for (invoiceType of invoiceTypes; track invoiceType) { {{ 'INVOICES_PAGE.INVOICE_TYPE.' + invoiceType | translate }} }
@if (isEmployeeHourTable) {
} @if (isProjectHourTable) {
{{ item.name }}
{{ item.name }}
} @if (isTaskHourTable) {
{{ item.title }}
{{ item.title }}
} @if (isProductTable) {
{{ item.name }}
{{ item.name }}
} @if (isExpenseTable) {
{{ item.purpose }}
{{ item.purpose }}
}
@if (isExpenseTable) { }
@for (discountTaxType of discountTaxTypes; track discountTaxType) { {{ 'INVOICES_PAGE.' + discountTaxType | translate }} }
@for (discountTaxType of discountTaxTypes; track discountTaxType) { {{ 'INVOICES_PAGE.' + discountTaxType | translate }} }
@for (discountTaxType of discountTaxTypes; track discountTaxType) { {{ 'INVOICES_PAGE.' + discountTaxType | translate }} }
@if (form.get('taxType').value === 'PERCENT' && form.get('tax2Type').value === 'PERCENT') {
@for (taxCalculationType of taxCalculationTypes; track taxCalculationType) { {{ 'INVOICES_PAGE.' + taxCalculationType | 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) }}
}