BIG-9: fix estimates sorting by customer column.

BIG-10: fix invoices sorting by balance column.
This commit is contained in:
a.bouhuolia
2021-09-11 16:50:09 +02:00
parent 996f1d7718
commit 1ebb5cd8ad
2 changed files with 4 additions and 6 deletions

View File

@@ -189,11 +189,9 @@ export function useInvoicesTableColumns() {
clickable: true,
},
{
id: 'balance',
id: 'amount',
Header: intl.get('balance'),
accessor: (r) => (
<Money amount={r.balance} currency={r.currency_code} />
),
accessor: 'formatted_amount',
width: 120,
className: 'balance',
clickable: true,