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);
}