mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: add formatted amount & data in credit.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user