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 @@