diff --git a/resources/views/print/laporan_stokaudit-backup.blade.php b/resources/views/print/laporan_stokaudit-backup.blade.php new file mode 100644 index 0000000..4f7e08e --- /dev/null +++ b/resources/views/print/laporan_stokaudit-backup.blade.php @@ -0,0 +1,265 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
Laporan Stok Audit Tarikh Cetak: + @php + $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak); + $formattedweddingdate = $myDateTime->format('d-m-Y'); + echo($formattedweddingdate) + @endphp +
TARIKH@php + $myDateTime = DateTime::createFromFormat('Y-m-d', $tebus_date); + $formattedweddingdate = $myDateTime->format('d-m-Y'); + echo($formattedweddingdate) + @endphp +
+ +
+ + + + + + + + + + + + + + + + @php $counter = 1;$totalpinjaman = 0; @endphp + @foreach($stokaudit['rekod'] as $index=>$item) + @php if($item['hargajualan'] == null) $totalpinjaman += $item['pinjaman']; else $totalpinjaman += $item['bakipjm']; @endphp + + + + + + + + + + + + + {{-- --}} + + + @php $counter++; @endphp + @endforeach + + + + + + + + + + + +
BilNorujukanJBGNo. KPBeratNilai Marhun (RM)Pembiayaan Asal (RM)Baki Pembiayaan (RM)Kadar UpahTempoh Belum BayarKeuntungan Belum Bayar (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['pinjaman'],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) }}
+ +
+
+ + + + + + + + + + + + + + + +
.................................................................. ..................................................................
DI SEMAK DI SAHKAN
diff --git a/resources/views/print/laporan_stokaudit.blade.php b/resources/views/print/laporan_stokaudit.blade.php index 4f7e08e..42071bb 100644 --- a/resources/views/print/laporan_stokaudit.blade.php +++ b/resources/views/print/laporan_stokaudit.blade.php @@ -210,6 +210,8 @@ Kadar Upah Tempoh Belum Bayar Keuntungan Belum Bayar (RM) + Ujrah (RM) + Keuntungan 1% (RM) Lanjutan @php $counter = 1;$totalpinjaman = 0; @endphp @@ -227,6 +229,9 @@ {{ 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) }} + {{-- {{ number_format($item['pinjaman'],2) }} --}} {{$item['lelong_tawarruq']}}