From b5272c3a219bdc86ac5cd18634073be87642c501 Mon Sep 17 00:00:00 2001 From: venkateswaran ubuntu Date: Sat, 2 Sep 2023 19:21:28 +0530 Subject: [PATCH] susee --- app/Views/credit_points_list.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/Views/credit_points_list.php b/app/Views/credit_points_list.php index e5ff0b4..63dee4a 100644 --- a/app/Views/credit_points_list.php +++ b/app/Views/credit_points_list.php @@ -201,12 +201,11 @@ $(document).on('click','.manage-credits',function(){
- +
@@ -382,7 +381,6 @@ function matchnum(event) } $(document).on('change','.add_or_sub',function(){ var selectedValue = $('input[name="add_or_sub"]:checked').val(); - const methodField = document.getElementById('method'); if (selectedValue === 'sub') { $("#packs").val("CreditPoints"); $('#method option[value="card"]').hide(); @@ -390,7 +388,6 @@ $(document).on('change','.add_or_sub',function(){ $("#packs option[value='6']").hide(); $("#packs option[value='7']").hide(); $('#count_hide_show').hide(); - methodField.value = ''; $('#remarks').prop('required', true); } else { $('#method option[value="card"]').show(); @@ -398,7 +395,6 @@ $(document).on('change','.add_or_sub',function(){ $("#packs option[value='6']").show(); $("#packs option[value='7']").show(); $('#count_hide_show').show(); - methodField.value = ''; $('#remarks').prop('required', false); }