From daef0b4283487a11d240527366c530ef95edaae3 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Wed, 2 Oct 2024 09:11:20 +0700 Subject: [PATCH] refactor: edit type --- src/stores/quotations/types.ts | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 9ee463ff..a32cd051 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -272,21 +272,7 @@ export type QuotationPayload = { ]; urgent: boolean; customerBranchId: string; - worker: ( - | string - | { - lastNameEN: string; - lastName: string; - middleNameEN: string; - middleName: string; - firstNameEN: string; - firstName: string; - namePrefix: string; - nationality: string; - gender: string; - dateOfBirth: Date; - } - )[]; + worker: (string | EmployeeWorker)[]; workerCount: 0; payBillDate: Date; paySplit: Date[];