susee
This commit is contained in:
parent
06036d41c4
commit
f5de441090
@ -198,7 +198,7 @@ $(document).on('click','.manage-credits',function(){
|
|||||||
</div>
|
</div>
|
||||||
<div class="mb-1 mt-2 col-md-4">
|
<div class="mb-1 mt-2 col-md-4">
|
||||||
<label class="form-label">Cost($)<span style="color: red;margin-left: 4px;">*</label>
|
<label class="form-label">Cost($)<span style="color: red;margin-left: 4px;">*</label>
|
||||||
<input type="number" class="form-control" name="cost" id="cost" onkeypress = "return matchnum(event)" readonly required value="${res.OnePackValue[0]['value']}">
|
<input type="number" class="form-control" name="cost" id="cost" onkeypress = "return matchnum(event)" required value="${res.OnePackValue[0]['value']}">
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-1 mt-2 col-md-4">
|
<div class="mb-1 mt-2 col-md-4">
|
||||||
<label class="form-label">Transaction Method<span style="color: red;margin-left: 4px;">*</label>
|
<label class="form-label">Transaction Method<span style="color: red;margin-left: 4px;">*</label>
|
||||||
@ -428,9 +428,11 @@ $(document).on('change','.add_or_sub',function(){
|
|||||||
$('#method option[value="cash"]').show();
|
$('#method option[value="cash"]').show();
|
||||||
$("#packs option[value='6']").show();
|
$("#packs option[value='6']").show();
|
||||||
$("#packs option[value='7']").show();
|
$("#packs option[value='7']").show();
|
||||||
$('#remarks').prop('required', false);
|
// $('#remarks').prop('required', false);
|
||||||
$("#cost").val($("#costHidden").val());
|
$("#cost").val($("#costHidden").val());
|
||||||
$('label[for="remarks"]').text('Remarks');
|
// $('label[for="remarks"]').text('Remarks');
|
||||||
|
$('#remarks').prop('required', true);
|
||||||
|
$('label[for="remarks"]').html('Remarks<span style="color: red;margin-left: 4px;">*</span>');
|
||||||
if(packSel == 'CreditPoints'){
|
if(packSel == 'CreditPoints'){
|
||||||
$('#count_hide_show').hide();
|
$('#count_hide_show').hide();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -164,7 +164,7 @@ $(document).on('click','.transaction',function(){
|
|||||||
text: 'Print',
|
text: 'Print',
|
||||||
customize: function(win) {
|
customize: function(win) {
|
||||||
// You can further customize the print output here if needed
|
// You can further customize the print output here if needed
|
||||||
$(win.document.body).find('table').find('th:first, td:first').remove();
|
$(win.document.body).find('table').find('th:first-child, td:first-child').remove();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -109,7 +109,7 @@
|
|||||||
title: 'Users', // Set your custom print title here
|
title: 'Users', // Set your custom print title here
|
||||||
text: 'Print',
|
text: 'Print',
|
||||||
customize: function(win) {
|
customize: function(win) {
|
||||||
$(win.document.body).find('table').find('th:first, td:first').remove();
|
$(win.document.body).find('table').find('th:first-child, td:first-child').remove();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user