susee
This commit is contained in:
parent
20cc3672e9
commit
d29dc0e51f
@ -382,10 +382,12 @@ function matchnum(event)
|
|||||||
}
|
}
|
||||||
$(document).on('change','.add_or_sub',function(){
|
$(document).on('change','.add_or_sub',function(){
|
||||||
var selectedValue = $('input[name="add_or_sub"]:checked').val();
|
var selectedValue = $('input[name="add_or_sub"]:checked').val();
|
||||||
|
// alert(selectedValue)
|
||||||
packSel = $('#packs').val();
|
packSel = $('#packs').val();
|
||||||
if (selectedValue === 'sub') {
|
if (selectedValue === 'sub') {
|
||||||
$("#packs").val(""); // Clear the Pack select
|
$("#packs").val(""); // Clear the Pack select
|
||||||
$("#packs").val("CreditPoints");
|
$("#packs").val("CreditPoints");
|
||||||
|
$('#count').val("")
|
||||||
$('#method option[value="card"]').hide();
|
$('#method option[value="card"]').hide();
|
||||||
$('#method option[value="cash"]').hide();
|
$('#method option[value="cash"]').hide();
|
||||||
$('#method').val("Others")
|
$('#method').val("Others")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user