fix add disabled auto tawarruq

This commit is contained in:
MUHD HAFIFIE
2021-05-30 19:45:19 +08:00
parent f04a4debf7
commit 29b5e62c79
+12
View File
@@ -705,6 +705,8 @@
switch($(this).val()) {
case "T":
$("#terima_transaksi").prop('disabled', false);
$('input[type="checkbox"]').hide();
$('span.spannar').show();
@@ -728,6 +730,8 @@
break;
case "A":
$("#terima_transaksi").prop('disabled', false);
$('input[type="checkbox"]').hide();
$('span.spannar').show();
@@ -751,6 +755,8 @@
break;
case "S":
$("#terima_transaksi").prop('disabled', false);
$('input[type="checkbox"]').show();
$('span.spannar').hide();
@@ -773,6 +779,8 @@
break;
case "P":
$("#terima_transaksi").prop('disabled', false);
$('input[type="checkbox"]').hide();
$('span.spannar').show();
$('#divpinjaman').show();
@@ -791,6 +799,8 @@
$("#bayaran").val(0);
break;
case "U":
$("#terima_transaksi").prop('disabled', false);
$('input[type="checkbox"]').hide();
$('span.spannar').show();
@@ -812,6 +822,8 @@
$('#perludibayar').val(formatter.format(jumupah));
break;
case "AT":
$("#terima_transaksi").prop('disabled', true);
$('input[type="checkbox"]').hide();
$('span.spannar').show();
$('#divpinjaman').show();