Update Invoice and PurchaseOrder models to replace 'customer' with 'client' and change 'processing' color to 'purple'

This commit is contained in:
Tom Butcher 2025-12-27 20:52:11 +00:00
parent ceaf4715dc
commit e2a81a8503
2 changed files with 4 additions and 4 deletions

View File

@ -118,8 +118,8 @@ export const Invoice = {
} }
} }
], ],
group: ['vendor', 'customer', 'invoiceType'], group: ['vendor', 'client', 'invoiceType'],
filters: ['vendor', 'customer', 'invoiceType'], filters: ['vendor', 'client', 'invoiceType'],
sorters: ['createdAt', 'state', 'updatedAt', 'invoiceDate', 'dueDate'], sorters: ['createdAt', 'state', 'updatedAt', 'invoiceDate', 'dueDate'],
columns: [ columns: [
'_id', '_id',
@ -127,7 +127,7 @@ export const Invoice = {
'state', 'state',
'invoiceType', 'invoiceType',
'vendor', 'vendor',
'customer', 'client',
'invoiceDate', 'invoiceDate',
'dueDate', 'dueDate',
'totalAmount', 'totalAmount',

View File

@ -308,7 +308,7 @@ export const PurchaseOrder = {
name: 'acknowledged.count', name: 'acknowledged.count',
label: 'Acknowledged', label: 'Acknowledged',
type: 'number', type: 'number',
color: 'processing' color: 'purple'
}, },
{ {
name: 'partiallyShipped.count', name: 'partiallyShipped.count',