From 6156ebdba8b1e74255676ae72786c6bcf3231641 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Thu, 26 Dec 2024 15:57:39 +0700 Subject: [PATCH] fix: view receipt not working --- src/pages/05_quotation/QuotationForm.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index c73a7526..34f0e61e 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -2116,8 +2116,11 @@ watch( :pay-split-count="quotationFormData.paySplitCount || 0" @view=" () => { - selectedInstallmentNo = [v.invoice.installments[0].no]; - installmentAmount = v.invoice.amount; + if (quotationFormData.payCondition !== 'Full') { + selectedInstallmentNo = [v.invoice.installments[0].no]; + installmentAmount = v.invoice.amount; + } + view = View.Quotation; } "