From 2485de651a4f455b6457777b075e0903a4863612 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Tue, 15 Oct 2024 17:21:06 +0700 Subject: [PATCH] fix: error backend changed --- src/pages/05_quotation/form.ts | 1 - src/stores/quotations/types.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/pages/05_quotation/form.ts b/src/pages/05_quotation/form.ts index e98971c3..daa7cc1d 100644 --- a/src/pages/05_quotation/form.ts +++ b/src/pages/05_quotation/form.ts @@ -29,7 +29,6 @@ const DEFAULT_DATA: QuotationPayload = { contactTel: '', contactName: '', workName: '', - actorName: '', _count: { worker: 0 }, status: 'CREATED', }; diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 7b08f7f9..a0f66c09 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -195,7 +195,6 @@ export type Quotation = { contactTel: string; contactName: string; workName: string; - actorName: string; code: string; statusOrder: number; status: Status; @@ -257,7 +256,6 @@ export type QuotationFull = { contactTel: string; contactName: string; workName: string; - actorName: string; code: string; statusOrder: number; status: Status; @@ -300,7 +298,6 @@ export type QuotationPayload = { contactTel: string; contactName: string; workName: string; - actorName: string; status?: Status; };