From d6c0d8da92bc38b39f84d873d92617ff9e1065e9 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 29 Nov 2024 10:17:31 +0700 Subject: [PATCH] refactor: delete docment receive point --- src/pages/05_quotation/QuotationForm.vue | 3 --- src/pages/05_quotation/QuotationFormMetadata.vue | 12 ------------ src/pages/05_quotation/form.ts | 1 - src/stores/quotations/types.ts | 3 --- 4 files changed, 19 deletions(-) diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 7d08655a..c83de7fe 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -1235,9 +1235,6 @@ async function getWorkerFromCriteria( v-model:work-name="quotationFormData.workName" v-model:contactor="quotationFormData.contactName" v-model:telephone="quotationFormData.contactTel" - v-model:document-receive-point=" - quotationFormData.documentReceivePoint - " v-model:due-date="quotationFormData.dueDate" > diff --git a/src/pages/05_quotation/form.ts b/src/pages/05_quotation/form.ts index 1f119269..913858d8 100644 --- a/src/pages/05_quotation/form.ts +++ b/src/pages/05_quotation/form.ts @@ -30,7 +30,6 @@ const DEFAULT_DATA: QuotationPayload = { payCondition: 'Full', dueDate: new Date(), discount: 0, - documentReceivePoint: '', contactTel: '', contactName: '', workName: '', diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 8c439821..43135e9f 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -221,7 +221,6 @@ export type Quotation = { | 'BillSplitCustom'; date: string | Date; dueDate: string | Date; - documentReceivePoint: string; contactTel: string; contactName: string; workName: string; @@ -307,7 +306,6 @@ export type QuotationFull = { | 'BillSplitCustom'; date: string | Date; dueDate: string | Date; - documentReceivePoint: string; contactTel: string; contactName: string; workName: string; @@ -374,7 +372,6 @@ export type QuotationPayload = { | 'BillSplit' | 'BillSplitCustom'; dueDate: Date; - documentReceivePoint: string; contactTel: string; contactName: string; workName: string;