From c80c6fc8d984ede680390483cf946f9fcc3ac5d4 Mon Sep 17 00:00:00 2001 From: Azfar Arsyad Date: Wed, 20 Dec 2023 13:35:38 +0800 Subject: [PATCH] update laporan stokaudit --- .../print/laporan_stokauditbackdate.blade.php | 37 ++++++++++++++++++- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/resources/views/print/laporan_stokauditbackdate.blade.php b/resources/views/print/laporan_stokauditbackdate.blade.php index 4b18c6b..7fe3fe5 100644 --- a/resources/views/print/laporan_stokauditbackdate.blade.php +++ b/resources/views/print/laporan_stokauditbackdate.blade.php @@ -210,6 +210,30 @@ Ujrah(RM) Lanjutan + + + + @if ($stokaudit == "failed") + + + + + + + + + + + + + + + + + + + + @else @php $counter = 1;$totalpinjaman = 0; @endphp {{-- {{dd($stokaudit['rekod'])}} --}} @foreach($stokaudit['rekod'] as $index=>$item) @@ -226,8 +250,11 @@ {{ number_format($item['tempohblmbyar'],2) }} {{ number_format($item['upahblmbyar'],2) }} {{ number_format($item['pinjaman']* 0.01,2) }} - @if($item['ujrah'] ='') + + @if($item['ujrah'] ='0.00') + {{ number_format($item['ujrah'],2) }} + @endif {{$item['lanjutan']}} @@ -241,10 +268,16 @@ {{ number_format($stokaudit['totalpinjaman'],2) }} {{ number_format($stokaudit['totalbakipjm'],2) }} - + {{ number_format($stokaudit['totaltunggakan'],2) }} + + + + @endif + +