From d60f8585826b991f6d205c8734a81a55db0e2f5d Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 17 Jul 2025 11:12:27 +0700 Subject: [PATCH 1/3] fix: quotation disable selectInstallment invoice btn when not selected --- src/pages/05_quotation/QuotationForm.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 50e0afcc..41420441 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -2313,6 +2313,7 @@ function covertToNode() { > Date: Mon, 21 Jul 2025 09:53:31 +0700 Subject: [PATCH 2/3] fix: handle customer business type in table --- src/pages/03_customer-management/MainPage.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index f24c6b3b..3ec63b43 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -1266,15 +1266,19 @@ const emptyCreateDialog = ref(false); class="ellipsis" > {{ - props.row.branch[0].businessType[ - $i18n.locale === 'eng' ? 'nameEN' : 'name' - ] + props.row.branch[0].businessType + ? props.row.branch[0].businessType[ + $i18n.locale === 'eng' ? 'nameEN' : 'name' + ] + : '-' }} {{ - props.row.branch[0].businessType[ - $i18n.locale === 'eng' ? 'nameEN' : 'name' - ] + props.row.branch[0].businessType + ? props.row.branch[0].businessType[ + $i18n.locale === 'eng' ? 'nameEN' : 'name' + ] + : '-' }} From 968aa04aa99feb8637bb293a55a38fa06368a88e Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Fri, 25 Jul 2025 16:19:36 +0700 Subject: [PATCH 3/3] fix: remark handling --- src/pages/11_credit-note/FormPage.vue | 13 +--- src/pages/12_debit-note/FormPage.vue | 7 ++- .../12_debit-note/document-view/MainPage.vue | 3 +- .../expansion/RemarkExpansion.vue | 61 ++++++++++++++++++- 4 files changed, 66 insertions(+), 18 deletions(-) diff --git a/src/pages/11_credit-note/FormPage.vue b/src/pages/11_credit-note/FormPage.vue index 8e013234..fae332e6 100644 --- a/src/pages/11_credit-note/FormPage.vue +++ b/src/pages/11_credit-note/FormPage.vue @@ -96,7 +96,7 @@ const pageState = reactive({ mode: 'view' as 'view' | 'edit' | 'info', }); -const defaultRemark = '#[quotation-labor]

#[quotation-payment]'; +const defaultRemark = ''; const formData = ref({ quotationId: '', @@ -798,16 +798,7 @@ onMounted(async () => { :default-remark="defaultRemark" :items="[]" :readonly="pageState.mode === 'info'" - > - - + > - diff --git a/src/pages/12_debit-note/document-view/MainPage.vue b/src/pages/12_debit-note/document-view/MainPage.vue index 563b4d02..33faa935 100644 --- a/src/pages/12_debit-note/document-view/MainPage.vue +++ b/src/pages/12_debit-note/document-view/MainPage.vue @@ -492,9 +492,8 @@ function print() { v-html=" convertTemplate(data?.remark || '', { 'quotation-payment': { - paymentType: data?.payCondition || 'Full', + paymentType: 'Full', amount: summaryPrice.finalPrice, - installments: data?.paySplit, }, 'quotation-labor': { name: diff --git a/src/pages/12_debit-note/expansion/RemarkExpansion.vue b/src/pages/12_debit-note/expansion/RemarkExpansion.vue index d33fcf73..0ed7d568 100644 --- a/src/pages/12_debit-note/expansion/RemarkExpansion.vue +++ b/src/pages/12_debit-note/expansion/RemarkExpansion.vue @@ -1,9 +1,21 @@