From e7cb52d48214ce970299575c88816c318c000837 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Wed, 27 Nov 2024 09:20:24 +0700 Subject: [PATCH] refactor: add type invoice id --- src/stores/quotations/types.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 5bb19de8..261133b6 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -357,7 +357,13 @@ export type QuotationPayload = { _count: { worker: number }; discount?: number; payBillDate?: Date | null; - paySplit: { no: number; amount: number; name?: string; invoice?: boolean }[]; + paySplit: { + no: number; + amount: number; + name?: string; + invoice?: boolean; + invoiceId?: string; + }[]; paySplitCount?: number | null; // int payCondition: | 'Full'