susee
This commit is contained in:
parent
20cc3672e9
commit
d29dc0e51f
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user