feat: add formatted amount & data in credit.

This commit is contained in:
elforjani13
2021-12-02 16:07:18 +02:00
parent ba585271b0
commit 0fedd2479d
2 changed files with 4 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ export function useCreditNoteTableColumns() {
{
id: 'credit_note_date',
Header: intl.get('credit_note.column.credit_date'),
accessor: 'credit_note_date',
accessor: 'formatted_credit_note_date',
Cell: FormatDateCell,
width: 110,
className: 'credit_note_date',
@@ -85,8 +85,7 @@ export function useCreditNoteTableColumns() {
{
id: 'amount',
Header: intl.get('amount'),
accessor: 'amount',
// accessor: 'formatted_amount',
accessor: 'formatted_amount',
width: 120,
align: 'right',
clickable: true,