From 0b2d688b6d9ea56fd2d57a1c417dc35b65af27fe Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Sat, 30 Mar 2024 09:10:03 +0530 Subject: [PATCH 1/9] UI_IN_CLIENT_POLICY : RV --- app/Views/client_basic_info.php | 4 ++-- app/Views/client_kyc.php | 2 +- app/Views/client_policy.php | 2 +- app/Views/policy_gpa_terms.php | 8 -------- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/app/Views/client_basic_info.php b/app/Views/client_basic_info.php index d2034521..9d562f2b 100644 --- a/app/Views/client_basic_info.php +++ b/app/Views/client_basic_info.php @@ -2,7 +2,7 @@ .switch { position: relative; display: inline-block; - width: 60px; + width: 54px; height: 34px; } @@ -181,7 +181,7 @@ input:checked + .slider:before { > - + diff --git a/app/Views/client_kyc.php b/app/Views/client_kyc.php index af301c6c..d842b1f4 100644 --- a/app/Views/client_kyc.php +++ b/app/Views/client_kyc.php @@ -129,7 +129,7 @@ var fileExtension = fileName.split('.').pop().toLowerCase(); if (allowedExtensions.indexOf(fileExtension) === -1) { form.trigger('reset') - toastr.warning('File type not allowed: ' + fileName, 'Warning'); + toastr.warning('File type not allowed: ' + fileName, 'Only Allowed pdf, png, jpg and jpeg'); return; } } diff --git a/app/Views/client_policy.php b/app/Views/client_policy.php index 187a8ea1..0237392b 100644 --- a/app/Views/client_policy.php +++ b/app/Views/client_policy.php @@ -90,7 +90,7 @@ > - + diff --git a/app/Views/policy_gpa_terms.php b/app/Views/policy_gpa_terms.php index c448e10e..0fcaeb85 100644 --- a/app/Views/policy_gpa_terms.php +++ b/app/Views/policy_gpa_terms.php @@ -52,14 +52,6 @@ .jodit-status-bar{ display:none; } - .jodit-container{ - /* width: 690px !important; */ - /* margin-top: 3px; */ - /* margin-bottom: 3px; */ - /* margin-left: 30px; */ - /* height: 0px !important; */ - /* min-height: 100px !important; */ - } .input-group { width: 64.5% !important; } From b43aaa6d5dbd127fffb16743083c0d79d52948a5 Mon Sep 17 00:00:00 2001 From: aadhavan valli Date: Sat, 30 Mar 2024 09:13:39 +0530 Subject: [PATCH 2/9] CHANGE_CLIENT_POLICY_GMC_GPA_FORM : AADHAVAN --- app/Views/policy_gmc_terms.php | 6 +++++- app/Views/policy_gpa_terms.php | 6 +++++- app/Views/tpa_basic_info.php | 6 ++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/Views/policy_gmc_terms.php b/app/Views/policy_gmc_terms.php index 25f21abe..0f556978 100644 --- a/app/Views/policy_gmc_terms.php +++ b/app/Views/policy_gmc_terms.php @@ -596,7 +596,8 @@ var grid_html = ''; processData: false, contentType: false, success: function(res) { - + $('#policyJsonForm')[0].reset(); + $('.text-danger-2').html(''); if (res.status === false) { toastr.error('Policy Dose Not Create', 'Error'); return; @@ -871,6 +872,9 @@ var grid_html = ''; $('#police-tab').css('display', ''); $('.nav.nav-pills.navtab-bg').css('display',''); $('.nav.nav-pills.navtab-bg').prev().css('display',''); + + $('#policyJsonForm')[0].reset(); + $('.text-danger-2').html(''); }); // function formatNumber(input) { diff --git a/app/Views/policy_gpa_terms.php b/app/Views/policy_gpa_terms.php index c448e10e..1cd03797 100644 --- a/app/Views/policy_gpa_terms.php +++ b/app/Views/policy_gpa_terms.php @@ -409,7 +409,8 @@ processData: false, contentType: false, success: function(res) { - + $('#policyGPATerms')[0].reset(); + $('.text-danger-2').html(''); console.log(res); if (res.status === false) { @@ -569,6 +570,9 @@ $('#police-tab').css('display', ''); $('.nav.nav-pills.navtab-bg').css('display',''); $('.nav.nav-pills.navtab-bg').prev().css('display',''); + $('#policyGPATerms')[0].reset(); + $('.text-danger-2').html(''); + }); diff --git a/app/Views/tpa_basic_info.php b/app/Views/tpa_basic_info.php index 86db92e2..32487206 100644 --- a/app/Views/tpa_basic_info.php +++ b/app/Views/tpa_basic_info.php @@ -9,10 +9,8 @@
- - + +
From 2b29730e166b669c41a5dc1f9e672dd92cd4d68f Mon Sep 17 00:00:00 2001 From: aadhavan valli Date: Sat, 30 Mar 2024 10:10:30 +0530 Subject: [PATCH 3/9] FIX_HIDE_SHOW_BUTTON_MASTER_AND_CLIENT_MODEL : AADHAVAN --- app/Views/client_branch.php | 2 +- app/Views/client_onboarding.php | 8 ++++++-- app/Views/client_policy.php | 2 +- app/Views/insurer_branch.php | 2 +- app/Views/insurer_onboarding.php | 4 +++- app/Views/kyc_docs.php | 2 +- app/Views/kyc_onboarding.php | 4 +++- app/Views/policies.php | 2 +- app/Views/policy_type_onboarding.php | 4 +++- app/Views/tpa_branch.php | 2 +- app/Views/tpa_onboarding.php | 6 ++++-- 11 files changed, 25 insertions(+), 13 deletions(-) diff --git a/app/Views/client_branch.php b/app/Views/client_branch.php index aab529c9..f56d9d42 100644 --- a/app/Views/client_branch.php +++ b/app/Views/client_branch.php @@ -23,7 +23,7 @@
- +

diff --git a/app/Views/client_onboarding.php b/app/Views/client_onboarding.php index 116003ea..da2344f3 100644 --- a/app/Views/client_onboarding.php +++ b/app/Views/client_onboarding.php @@ -158,7 +158,9 @@ body { $('#BtnAdd').hide(); toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000}); }else{ - $('#BtnAdd').show(); + if ($('#btnPolicyBack')[0].style.display == 'none') { + $('#BtnAdd').show(); + } } } @@ -171,7 +173,9 @@ body { $('#btnBranchAdd').hide(); toastr.warning('Please Add the Client!', 'warning',{timeOut: 2000}); }else{ - $('#btnBranchAdd').show(); + if ($('#btnBranchBack')[0].style.display == 'none') { + $('#btnBranchAdd').show(); + } } } diff --git a/app/Views/client_policy.php b/app/Views/client_policy.php index 0237392b..9018586c 100644 --- a/app/Views/client_policy.php +++ b/app/Views/client_policy.php @@ -28,7 +28,7 @@
- +

diff --git a/app/Views/insurer_branch.php b/app/Views/insurer_branch.php index e2739700..8170f321 100644 --- a/app/Views/insurer_branch.php +++ b/app/Views/insurer_branch.php @@ -23,7 +23,7 @@
- +

diff --git a/app/Views/insurer_onboarding.php b/app/Views/insurer_onboarding.php index 53c2f080..f7520d25 100644 --- a/app/Views/insurer_onboarding.php +++ b/app/Views/insurer_onboarding.php @@ -79,7 +79,9 @@ body { $('#btnBranchAdd').hide(); toastr.warning('First Add the Insurer!', 'warning',{timeOut: 2000}); }else{ - $('#btnBranchAdd').show(); + if ($('#btnBranchBack')[0].style.display == 'none') { + $('#btnBranchAdd').show(); + } } } diff --git a/app/Views/kyc_docs.php b/app/Views/kyc_docs.php index d27ae100..0ec33c05 100644 --- a/app/Views/kyc_docs.php +++ b/app/Views/kyc_docs.php @@ -22,7 +22,7 @@
- +

diff --git a/app/Views/kyc_onboarding.php b/app/Views/kyc_onboarding.php index 531f86e7..0db36ce1 100644 --- a/app/Views/kyc_onboarding.php +++ b/app/Views/kyc_onboarding.php @@ -77,7 +77,9 @@ body { $('#btnBranchAdd').hide(); toastr.warning('First Add the KYC Entity Type!', 'warning',{timeOut: 2000}); }else{ - $('#btnBranchAdd').show(); + if ($('#btnBranchBack')[0].style.display == 'none') { + $('#btnBranchAdd').show(); + } } } diff --git a/app/Views/policies.php b/app/Views/policies.php index 59a7eba9..83560c37 100644 --- a/app/Views/policies.php +++ b/app/Views/policies.php @@ -23,7 +23,7 @@
- +

diff --git a/app/Views/policy_type_onboarding.php b/app/Views/policy_type_onboarding.php index 4d6d9c39..f1c3075d 100644 --- a/app/Views/policy_type_onboarding.php +++ b/app/Views/policy_type_onboarding.php @@ -76,7 +76,9 @@ body { $('#btnBranchAdd').hide(); toastr.warning('First Add the Policy Type!', 'warning',{timeOut: 2000}); }else{ - $('#btnBranchAdd').show(); + if ($('#btnBranchBack')[0].style.display == 'none') { + $('#btnBranchAdd').show(); + } } } diff --git a/app/Views/tpa_branch.php b/app/Views/tpa_branch.php index f098fe6c..5104ae67 100644 --- a/app/Views/tpa_branch.php +++ b/app/Views/tpa_branch.php @@ -23,7 +23,7 @@
- +

diff --git a/app/Views/tpa_onboarding.php b/app/Views/tpa_onboarding.php index ce73876c..1e14dabe 100644 --- a/app/Views/tpa_onboarding.php +++ b/app/Views/tpa_onboarding.php @@ -70,13 +70,15 @@ body {