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

@@ -20,6 +20,10 @@ export default {
importAggregateOn: 'entries',
importAggregateBy: 'creditNoteNumber',
print: {
pageTitle: 'Credit Notes',
},
fields: {
customer: {
name: 'credit_note.field.customer',
@@ -88,36 +92,34 @@ export default {
columns: {
customer: {
name: 'Customer',
type: 'relation',
accessor: 'customer.displayName',
},
exchangeRate: {
name: 'Exchange Rate',
type: 'number',
printable: false,
},
creditNoteDate: {
name: 'Credit Note Date',
type: 'date',
accessor: 'formattedCreditNoteDate'
},
referenceNo: {
name: 'Reference No.',
type: 'text',
},
note: {
name: 'Note',
type: 'text',
},
termsConditions: {
name: 'Terms & Conditions',
type: 'text',
printable: false,
},
creditNoteNumber: {
name: 'Credit Note Number',
type: 'text',
printable: false,
},
open: {
name: 'Open',
type: 'boolean',
printable: false,
},
entries: {
name: 'Entries',