diff --git a/src/containers/Purchases/CreditNotes/CreditNotesLanding/components.js b/src/containers/Purchases/CreditNotes/CreditNotesLanding/components.js index 5396e79a4..20f182f2d 100644 --- a/src/containers/Purchases/CreditNotes/CreditNotesLanding/components.js +++ b/src/containers/Purchases/CreditNotes/CreditNotesLanding/components.js @@ -60,7 +60,7 @@ export function useVendorsCreditNoteTableColumns() { { id: 'vendor_credit_date', Header: intl.get('date'), - accessor: 'vendor_credit_date', + accessor: 'formatted_vendor_credit_date', Cell: FormatDateCell, width: 110, className: 'vendor_credit_date', @@ -88,8 +88,7 @@ export function useVendorsCreditNoteTableColumns() { { id: 'amount', Header: intl.get('amount'), - // accessor: 'formatted_amount', - accessor: 'amount', + accessor: 'formatted_amount', width: 120, align: 'right', clickable: true, diff --git a/src/containers/Sales/CreditNotes/CreditNotesLanding/components.js b/src/containers/Sales/CreditNotes/CreditNotesLanding/components.js index 0a8405b2b..e7b4a31bc 100644 --- a/src/containers/Sales/CreditNotes/CreditNotesLanding/components.js +++ b/src/containers/Sales/CreditNotes/CreditNotesLanding/components.js @@ -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,