From 66d2a1727777285a61288c05547132c2a1bbbc76 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Thu, 28 Nov 2024 09:47:20 +0700 Subject: [PATCH] fix: installment no --- src/pages/05_quotation/utils.ts | 1 + src/stores/quotations/types.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pages/05_quotation/utils.ts b/src/pages/05_quotation/utils.ts index 13c5a641..807b6376 100644 --- a/src/pages/05_quotation/utils.ts +++ b/src/pages/05_quotation/utils.ts @@ -89,6 +89,7 @@ export function quotationProductTree( work: work, productId: relation.product.id, product: relation.product, + installmentNo: relation.installmentNo, }, icon: 'mdi-shopping-outline', bg: 'hsla(var(--teal-10-hsl)/0.1)', diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 788fee66..8c439821 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -181,6 +181,7 @@ type ServiceRelation = { productOnWork: { order: number; product: ProductRelation; + installmentNo: number; }[]; })[]; };