This commit is contained in:
venkateswaran ubuntu 2023-09-04 11:19:37 +05:30
parent 20cc3672e9
commit d29dc0e51f

View File

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