"chore: update frontend dev script to include lint checks and add ESLint config file"
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user