{{ (isEstimate ? 'INVOICES_PAGE.ESTIMATES.HEADER' : 'INVOICES_PAGE.HEADER') | translate }}

@if ((nbTab$ | async) === invoiceTabsEnum.ACTIONS) {
}
@if ((nbTab$ | async) === invoiceTabsEnum.SEARCH) {
{{ (isEstimate ? 'INVOICES_PAGE.ESTIMATES.HEADER' : 'INVOICES_PAGE.HEADER') | translate }} {{ 'INVOICES_PAGE.SEARCH' | translate | lowercase }}
@if (!isEstimate) { @for (status of invoiceStatusTypes; track status) { {{ 'INVOICES_PAGE.STATUSES.' + status | translate }} } } @if (isEstimate) { @for (status of estimateStatusTypes; track status) { {{ 'INVOICES_PAGE.STATUSES.' + status | translate }} } }
}
@if ((nbTab$ | async) === invoiceTabsEnum.HISTORY) {
{{ (!isEstimate ? 'INVOICES_PAGE.HEADER' : 'INVOICES_PAGE.ESTIMATES.HEADER') | translate }} {{ 'INVOICES_PAGE.COMMENTS' | translate | lowercase }}
{{ (!isEstimate ? 'INVOICES_PAGE.SELECT_INVOICE_TO_VIEW_HISTORY' : 'INVOICES_PAGE.ESTIMATES.SELECT_ESTIMATE_TO_VIEW_HISTORY' ) | translate }}
{{ 'BUTTONS.ADD_COMMENT' | translate }}
@if (selectedInvoice) {
} @else {
{{ (!isEstimate ? 'INVOICES_PAGE.SELECT_INVOICE_TO_VIEW_HISTORY' : 'INVOICES_PAGE.ESTIMATES.SELECT_ESTIMATE_TO_VIEW_HISTORY' ) | translate }}
}
{{ 'INVOICES_PAGE.COMMENTS' | translate }} @if (selectedInvoice && histories.length) { {{ histories.length }} }
@if (selectedInvoice && histories.length) {
    @for (history of histories; track history.id) {
  • @if (history.title) {
    {{ history.title }}
    }

    {{ history.action }}

  • }
} @else {
{{ 'INVOICES_PAGE.NO_COMMENTS' | translate }} {{ 'INVOICES_PAGE.NO_COMMENTS_HINT' | translate }}
}
}
@if (dataLayoutStyle === componentLayoutStyleEnum.TABLE) {
@if (smartTableSource) { }
}
@if (isEstimate) { } @if (!isEstimate) { @for (status of invoiceStatusTypes; track status) { {{ 'INVOICES_PAGE.STATUSES.' + status | translate }} } } @if (isEstimate) { @for (status of estimateStatusTypes; track status) { {{ 'INVOICES_PAGE.STATUSES.' + status | translate }} } } @if (!isEstimate) { }
{{ 'INVOICES_PAGE.SETTINGS' | translate }} @if (columns) {
@for (column of getColumns(); track column) { {{ 'INVOICES_PAGE.' + column | translate }} }
}
@if (!isEstimate) { } @if (isEstimate) { }
{{ 'FORM.CHECKBOXES.INCLUDE_ARCHIVED' | translate }}