feat: configure columns of resources export

This commit is contained in:
Ahmed Bouhuolia
2024-05-01 20:15:35 +02:00
parent 495941f43a
commit 55aab76c9b
12 changed files with 74 additions and 62 deletions

View File

@@ -100,12 +100,29 @@ export default {
},
vendorId: {
name: 'Vendor',
accessor: 'vendor.displayName',
type: 'text',
},
amount: {
name: 'Amount',
accessor: 'formattedAmount',
},
exchangeRate: {
name: 'Exchange Rate',
type: 'number',
},
currencyCode: {
name: 'Currency Code',
type: 'text',
},
dueAmount: {
name: 'Due Amount',
accessor: 'formattedDueAmount',
},
paidAmount: {
name: 'Paid Amount',
accessor: 'formattedPaymentAmount'
},
note: {
name: 'Note',
type: 'text',