From 29b5e62c7929296c762a9055a22aedf6a8265c4e Mon Sep 17 00:00:00 2001 From: MUHD HAFIFIE Date: Sun, 30 May 2021 19:45:19 +0800 Subject: [PATCH] fix add disabled auto tawarruq --- resources/views/penebusan/index.blade.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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();