This commit is contained in:
venkateswaran ubuntu 2023-09-02 18:32:37 +05:30
parent 8ecdb842c8
commit 1582f8e139

View File

@ -367,7 +367,7 @@ $(document).on('change','#packs',function(){
{ {
extend: 'csv', extend: 'csv',
text: 'CSV', // Set the title for the CSV button text: 'CSV', // Set the title for the CSV button
title: 'CMember Name : <?php echo $fname." ".$lname; ?> (Total Credits : <?php echo $avaiable_credit; ?>)', // Set your custom print title here title: 'Member Name : <?php echo $fname." ".$lname; ?> (Total Credits : <?php echo $avaiable_credit; ?>)', // Set your custom print title here
} }
] ]
}); });
@ -392,8 +392,8 @@ $(document).on('change','.add_or_sub',function(){
} else { } else {
$('#method option[value="card"]').show(); $('#method option[value="card"]').show();
$('#method option[value="cash"]').show(); $('#method option[value="cash"]').show();
$('#method option[value="card"]').show(); $("#packs option[value='6']").hide();
$('#method option[value="cash"]').show(); $("#packs option[value='7']").hide();
$('#remarks').prop('required', false); $('#remarks').prop('required', false);
} }