From b10b3499cd8ceba61b427e80e6cdfb7c24834710 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Tue, 20 May 2025 09:10:30 +0530 Subject: [PATCH 1/2] FIX_LIVE_ISSUE : RV --- app/Views/newClientModal.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/Views/newClientModal.php b/app/Views/newClientModal.php index b0d72494..e5a77895 100644 --- a/app/Views/newClientModal.php +++ b/app/Views/newClientModal.php @@ -149,8 +149,13 @@ // If GST is currently validating, wait for it to complete if (isGSTValidating) { - toastr.info('Please wait while we validate your GST number...', 'Validating'); - return; + if($('#Owner_type').val() == 1){ + toastr.info('Please wait while we validate your GST number...', 'Validating'); + return; + }else if ($('#client_type').val() == 1){ + toastr.info('Please wait while we validate your GST number...', 'Validating'); + return; + } } // If GST validation failed, prevent submission From 257fb62ee3b11d084ad73017b7526911ed5289e7 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Tue, 20 May 2025 10:48:36 +0530 Subject: [PATCH 2/2] FIX_LIVE_ISSUE : RV --- app/Views/newClientModal.php | 8 +++----- app/Views/policy_transaction_inception_form.php | 6 ++++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Views/newClientModal.php b/app/Views/newClientModal.php index e5a77895..9a56eaa5 100644 --- a/app/Views/newClientModal.php +++ b/app/Views/newClientModal.php @@ -233,19 +233,17 @@ if(form_type != 1){ setTimeout(function(){ + $('#client_id').val(res.client_id).change(); $('#client_id').prepend($('