feat: resource tables printing

This commit is contained in:
Ahmed Bouhuolia
2024-06-02 13:15:56 +02:00
parent 79be4266bb
commit f15fecde54
11 changed files with 52 additions and 43 deletions

View File

@@ -11,6 +11,10 @@ export default {
importAggregator: 'group',
importAggregateOn: 'entries',
importAggregateBy: 'receiptNumber',
print: {
pageTitle: 'Sale Receipts',
},
fields: {
amount: {
name: 'receipt.field.amount',
@@ -81,11 +85,6 @@ export default {
},
},
columns: {
amount: {
name: 'receipt.field.amount',
column: 'amount',
type: 'number',
},
depositAccount: {
name: 'receipt.field.deposit_account',
type: 'text',
@@ -117,6 +116,11 @@ export default {
type: 'text',
printable: false,
},
amount: {
name: 'receipt.field.amount',
accessor: 'formattedAmount',
type: 'number',
},
statement: {
name: 'receipt.field.statement',
type: 'text',