Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 9d321c0

Browse files
authored
feat: show the sendler column (#89)
1 parent ffff250 commit 9d321c0

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

apps/gauzy/src/app/pages/invoices/invoices-received/invoices-received.component.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ import { InvoiceDownloadMutationComponent } from '../invoice-download/invoice-do
4444

4545
@UntilDestroy({ checkProperties: true })
4646
@Component({
47-
selector: 'ga-invoices-received',
48-
templateUrl: './invoices-received.component.html',
49-
styleUrls: ['./invoices-received.component.scss'],
50-
standalone: false
47+
selector: 'ga-invoices-received',
48+
templateUrl: './invoices-received.component.html',
49+
styleUrls: ['./invoices-received.component.scss'],
50+
standalone: false
5151
})
5252
export class InvoicesReceivedComponent extends PaginationFilterBaseComponent implements OnInit, OnDestroy {
53-
public loading: boolean = false;
54-
public disableButton: boolean = true;
53+
public loading = false;
54+
public disableButton = true;
5555
public settingsSmartTable: object;
5656
public smartTableSource: ServerDataSource;
5757
public selectedInvoice: IInvoice;
@@ -68,7 +68,7 @@ export class InvoicesReceivedComponent extends PaginationFilterBaseComponent imp
6868
/**
6969
* Represents a component property for handling the estimate status.
7070
*/
71-
private _isEstimate: boolean = false;
71+
private _isEstimate = false;
7272
/**
7373
* Gets the current estimate status.
7474
* @returns The current estimate status.
@@ -411,7 +411,9 @@ export class InvoicesReceivedComponent extends PaginationFilterBaseComponent imp
411411
}
412412
};
413413
if (this.columns.includes(InvoiceColumnsEnum.CONTACT)) {
414-
this.settingsSmartTable['columns']['toContact'] = {
414+
// TODO: originally was this.settingsSmartTable['columns']['toContact'].
415+
// After the task will be create, rework it in the same way as it was done for invoices, in order to maintain support for the two types of invoices
416+
this.settingsSmartTable['columns']['fromUser'] = {
415417
title: this.getTranslation('INVOICES_PAGE.SENDER'),
416418
type: 'custom',
417419
isFilterable: false,

0 commit comments

Comments
 (0)