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
+
+