"chore: update frontend dev script to include lint checks and add ESLint config file"

This commit is contained in:
louiscklaw
2025-06-04 02:35:32 +08:00
parent c0fad42f0a
commit 22fb620eef
48 changed files with 3315 additions and 97 deletions

View File

@@ -81,6 +81,8 @@ export function InvoiceNewEditForm({ currentInvoice }: Props) {
const loadingSend = useBoolean();
const defaultValues: NewInvoiceSchemaType = {
id: '',
sent: 0,
invoiceNumber: 'INV-1990',
createDate: today(),
dueDate: null,
@@ -129,6 +131,8 @@ export function InvoiceNewEditForm({ currentInvoice }: Props) {
try {
if (currentInvoice) {
data.dueDate = '2029-01-01';
await saveInvoice(currentInvoice.id, data);
}