diff --git a/resources/views/penebusan/index.blade.php b/resources/views/penebusan/index.blade.php index 400756c..120258e 100644 --- a/resources/views/penebusan/index.blade.php +++ b/resources/views/penebusan/index.blade.php @@ -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();