update other multiple payments

This commit is contained in:
Aung Myo
2018-01-12 14:33:30 +06:30
parent 08c8fc438d
commit cc710a992f
5 changed files with 28 additions and 18 deletions

View File

@@ -34,11 +34,12 @@
}
payment_type = checkReceiptNoInFirstBillData(receipt_no,"payment");
if(payment_type) {
$(".others-payment").hide();
$("."+payment_type).show();
}
if(payment_type) {
$(".others-payment").hide();
$(payment_type).each(function(i){
$("."+payment_type[i]).show();
});
}
/* end check first bill or not*/
$('.others-payment').on('click',function(){