Refactor Invoice model by removing duplicate 'paidAt' field definition and ensuring consistent property structure.

This commit is contained in:
Tom Butcher 2026-06-21 19:15:43 +01:00
parent 8109b8dce2
commit 842ada9f33

View File

@ -302,6 +302,14 @@ export const Invoice = {
required: true required: true
}, },
{
name: 'paidAt',
label: 'Paid At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{ {
name: 'to', name: 'to',
label: 'To', label: 'To',
@ -333,13 +341,7 @@ export const Invoice = {
readOnly: true, readOnly: true,
columnWidth: 175 columnWidth: 175
}, },
{
name: 'paidAt',
label: 'Paid At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{ {
name: 'totalAmountWithTax', name: 'totalAmountWithTax',
label: 'Total Amount w/ Tax', label: 'Total Amount w/ Tax',