From 85eb338258be9dc84fbab4bdca9e84cd35618a70 Mon Sep 17 00:00:00 2001 From: amirhassan Date: Mon, 25 Mar 2024 05:46:43 +0800 Subject: [PATCH] Update onchange function for modal gadaian v2, & fix sag --- resources/views/gadaian/v2/index.blade.php | 2 -- resources/views/modal/editmarhun.blade.php | 1 - resources/views/print/sag_ujrah_3.blade.php | 8 ++++---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/resources/views/gadaian/v2/index.blade.php b/resources/views/gadaian/v2/index.blade.php index dae569f..71f221d 100644 --- a/resources/views/gadaian/v2/index.blade.php +++ b/resources/views/gadaian/v2/index.blade.php @@ -372,8 +372,6 @@ if (!arrayBatuPermata.includes(marhun)) { $(".col_edit_permata").css("display", "block"); - $(".div_anggaran_edit").css("display", "none"); - $('#beratpermataedit').val(""); } else { $(".col_edit_permata").css("display", "none"); $('#tagpermataedit').prop('checked', false); diff --git a/resources/views/modal/editmarhun.blade.php b/resources/views/modal/editmarhun.blade.php index ab692e2..c292397 100644 --- a/resources/views/modal/editmarhun.blade.php +++ b/resources/views/modal/editmarhun.blade.php @@ -33,7 +33,6 @@ - diff --git a/resources/views/print/sag_ujrah_3.blade.php b/resources/views/print/sag_ujrah_3.blade.php index 0b1a3b5..ae517bb 100644 --- a/resources/views/print/sag_ujrah_3.blade.php +++ b/resources/views/print/sag_ujrah_3.blade.php @@ -317,9 +317,9 @@ @@ -473,7 +473,7 @@ echo $marhun['descpt']; @endphp - {{ $marhun_detail[$i]['nota'] }} + {{ $marhun_detail[$i]['tag_permata'] == 1 ? '(P) ' : '' }}{{ $marhun_detail[$i]['nota'] }} {{ $marhun_detail[$i]['bil'] }} {{ $marhun_detail[$i]['karat'] }} {{ $marhun_detail[$i]['harga'] }}