From 1d73d8084ec8b8cc279b761a642dd51c4bede2b3 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Mon, 7 Oct 2024 16:58:45 +0700 Subject: [PATCH] feat: quotation stats --- src/components/StatCardComponent.vue | 3 +- src/pages/05_quotation/MainPage.vue | 235 +++++++-------------------- src/stores/quotations/index.ts | 23 ++- src/stores/quotations/types.ts | 7 + 4 files changed, 89 insertions(+), 179 deletions(-) diff --git a/src/components/StatCardComponent.vue b/src/components/StatCardComponent.vue index 32e37f8f..4fe55d16 100644 --- a/src/components/StatCardComponent.vue +++ b/src/components/StatCardComponent.vue @@ -2,6 +2,7 @@ const props = withDefaults( defineProps<{ branch: { + hidden?: boolean; icon: string; count: number; label: string; @@ -32,7 +33,7 @@ const props = withDefaults(