From b4a98ae2834c4a37f8f8a5a4696e65b2c037c4ac Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 21 Feb 2025 11:59:24 +0700 Subject: [PATCH] refactor: set date + 1 day --- src/pages/05_quotation/form.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/05_quotation/form.ts b/src/pages/05_quotation/form.ts index 5f54dc2c..969144ad 100644 --- a/src/pages/05_quotation/form.ts +++ b/src/pages/05_quotation/form.ts @@ -30,7 +30,7 @@ export const DEFAULT_DATA: QuotationPayload = { paySplit: [], paySplitCount: 0, payCondition: 'Full', - dueDate: new Date(), + dueDate: new Date(Date.now() + 86400000), discount: 0, contactTel: '', contactName: '',