From d29dc0e51f439a58753d64d849001ec16086676a Mon Sep 17 00:00:00 2001 From: venkateswaran ubuntu Date: Mon, 4 Sep 2023 11:19:37 +0530 Subject: [PATCH] susee --- app/Views/credit_points_list.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Views/credit_points_list.php b/app/Views/credit_points_list.php index 04b8b24..5d960ad 100644 --- a/app/Views/credit_points_list.php +++ b/app/Views/credit_points_list.php @@ -382,10 +382,12 @@ function matchnum(event) } $(document).on('change','.add_or_sub',function(){ var selectedValue = $('input[name="add_or_sub"]:checked').val(); + // alert(selectedValue) packSel = $('#packs').val(); if (selectedValue === 'sub') { $("#packs").val(""); // Clear the Pack select $("#packs").val("CreditPoints"); + $('#count').val("") $('#method option[value="card"]').hide(); $('#method option[value="cash"]').hide(); $('#method').val("Others")