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

@@ -161,16 +161,19 @@ export default {
costAccount: {
name: 'item.field.sell_account',
type: 'text',
accessor: 'costAccount.name',
exportable: true,
},
sellAccount: {
name: 'item.field.sell_description',
type: 'text',
accessor: 'sellAccount.name',
exportable: true,
},
inventoryAccount: {
name: 'item.field.inventory_account',
type: 'text',
accessor: 'inventoryAccount.name',
exportable: true,
},
sellDescription: {
@@ -196,6 +199,7 @@ export default {
category: {
name: 'item.field.category',
type: 'text',
accessor: 'category.name',
exportable: true,
},
active: {