diff --git a/resources/views/akaun/laporan_stokaudit.blade.php b/resources/views/akaun/laporan_stokaudit.blade.php index 4574f39..0aa2a6d 100644 --- a/resources/views/akaun/laporan_stokaudit.blade.php +++ b/resources/views/akaun/laporan_stokaudit.blade.php @@ -197,7 +197,7 @@
- +{{--
@@ -228,9 +228,9 @@ - + --}} {{-- --}} - + {{-- @php $counter++; @endphp @endforeach @@ -246,8 +246,73 @@ +
Bil Norujukan{{ number_format($item['bakipjm'],2) }} {{ number_format($item['kadarupah'],2) }} {{ number_format($item['tempoh'] - $item['tempohbayar'],2) }}{{ number_format($item['tunggakan'],2) }}{{ number_format($item['tunggakan'],2) }}{{ number_format($item['pinjaman'],2) }}{{$item['lelong_tawarruq']}}{{$item['lelong_tawarruq']}}
{{ number_format($stokaudit['totaltunggakan'],2) }}
--}} + + + + + + + + + + + + + + + + + + + + + + @php + $counter = 1; + $totalpinjaman = 0; + @endphp + @foreach($stokaudit['rekod'] as $index => $item) + @php + $totalpinjaman += $item['hargajualan'] == null ? $item['pinjaman'] : $item['bakipjm']; + @endphp + + + + + + + + + + + + + + + + + @php $counter++; @endphp + @endforeach + + + + + + + + + + + + + + + +
BilNorujukanJBGNo. KPBeratNilai Marhun (RM)Pembiayaan Asal (RM)Baki Pembiayaan (RM)Kadar UpahTempoh Belum BayarKeuntungan Belum Bayar (RM)Lain-Lain Caj (RM)Keuntungan 1% (RM)Lanjutan
{{ $counter }}{{ $item['norujukan'] }}{{ $item['tempoh'] }}{{ $item['nokp'] }}{{ number_format($item['berat'], 2) }}{{ number_format($item['nilaimarhun'], 2) }}{{ number_format($item['pinjaman'], 2) }}{{ number_format($item['bakipjm'], 2) }}{{ number_format($item['kadarupah'], 2) }}{{ number_format($item['tempoh'] - $item['tempohbayar'], 2) }}{{ number_format($item['tunggakan'], 2) }}{{ number_format($item['tunggakanujrah'], 2) }}{{ number_format($item['tunggakanonepercent'], 2) }}{{ $item['lelong_tawarruq'] }}
Jumlah{{ number_format($stokaudit['totalberat'], 2) }}{{ number_format($stokaudit['totalnilaimarhun'], 2) }}{{ number_format($stokaudit['totalpinjaman'], 2) }}{{ number_format($stokaudit['totalbakipjm'], 2) }}{{ number_format($stokaudit['totaltunggakan'], 2) }}{{ number_format($stokaudit['totalujrah'], 2) }}{{ number_format($stokaudit['totalonepercent'], 2) }}
+

diff --git a/resources/views/akaun/laporan_stokaudit_combine.blade.php b/resources/views/akaun/laporan_stokaudit_combine.blade.php index 2e0529c..c4a2983 100644 --- a/resources/views/akaun/laporan_stokaudit_combine.blade.php +++ b/resources/views/akaun/laporan_stokaudit_combine.blade.php @@ -237,6 +237,8 @@ + + @php @@ -260,6 +262,8 @@ {{-- --}} + + @php $counter_aktif++; @endphp @@ -274,6 +278,8 @@ + +
Kadar Upah Tempoh Belum Bayar Keuntungan Belum Bayar (RM)Lain-Lain Caj (RM)Keuntungan 1% (RM) Lanjutan {{ number_format($item['tempoh'] - $item['tempohbayar'],2) }} {{ number_format($item['tunggakan'],2) }}{{ number_format($item['pinjaman'],2) }}{{ number_format($item['tunggakanujrah'], 2) }}{{ number_format($item['tunggakanonepercent'], 2) }} {{$item['lelong_tawarruq']}}
{{ number_format($stokaudit_aktif['totaltunggakan'],2) }}{{ number_format($stokaudit_aktif['totalujrah'], 2) }}{{ number_format($stokaudit_aktif['totalonepercent'], 2) }}
@@ -389,4 +395,4 @@ - \ No newline at end of file +