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

@@ -82,16 +82,25 @@ export default {
name: 'bill_payment.field.payment_number',
type: 'text',
},
paymentAccountId: {
paymentAccount: {
name: 'bill_payment.field.payment_account',
type: 'relation',
accessor: 'paymentAccount.name',
type: 'text',
},
amount: {
name: 'Amount',
accessor: 'formattedAmount',
},
currencyCode: {
name: 'Currency Code',
type: 'text',
},
exchangeRate: {
name: 'bill_payment.field.exchange_rate',
type: 'number',
},
statement: {
name: 'bill_payment.field.statement',
name: 'bill_payment.field.note',
type: 'text',
},
reference: {
@@ -131,7 +140,7 @@ export default {
fieldType: 'number',
},
statement: {
name: 'bill_payment.field.statement',
name: 'bill_payment.field.note',
fieldType: 'text',
},
reference: {