refactor: format unpaid and paid
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
ddb4c67891
commit
fc4f2fd7e1
1 changed files with 2 additions and 2 deletions
|
|
@ -277,13 +277,13 @@ export const colProfitDebtReport = [
|
||||||
name: 'unpaid',
|
name: 'unpaid',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'report.debtReport.unpaid',
|
label: 'report.debtReport.unpaid',
|
||||||
field: (data: ColumnsDebt) => data.unpaid,
|
field: (data: ColumnsDebt) => formatNumberDecimal(data.unpaid, 2),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'paid',
|
name: 'paid',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'report.debtReport.paid',
|
label: 'report.debtReport.paid',
|
||||||
field: (data: ColumnsDebt) => data.paid,
|
field: (data: ColumnsDebt) => formatNumberDecimal(data.paid, 2),
|
||||||
},
|
},
|
||||||
] as const satisfies QTableProps['columns'];
|
] as const satisfies QTableProps['columns'];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue