fix notis lelong

This commit is contained in:
hafifierahman
2022-02-01 20:09:12 +08:00
parent 386352feab
commit 08f3d00185
9 changed files with 3400 additions and 143 deletions
@@ -165,7 +165,7 @@
<table id="scan">
<tr>
<th colspan ="5"><b>LAPORAN LELONGAN</b></th>
<th colspan ="5"><b>LAPORAN LELONGAN AKTIF</b></th>
<th> </th>
<th> </th>
<th><b> Tarikh Cetak:</b>
@@ -177,22 +177,6 @@
</th>
<th></th>
</tr>
<tr>
<td style="width:10px"> <b>TARIKH</b></td>
<td>@php
$myDateTime = DateTime::createFromFormat('Y-m-d', $tebus_date);
$formattedweddingdate = $myDateTime->format('d-m-Y');
echo($formattedweddingdate)
@endphp</td>
<td style="width:50px">
</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<br>
@@ -200,18 +184,25 @@
<tr>
<th>Bil</th>
<th>No Rujukan</th>
<th>Penggadai</th>
<th>N. Marhun Asal</th>
<th>JBG</th>
<th>IC</th>
<th>Pembiayaan</th>
<th>U.Simpan</th>
<th>C.Lel</th>
<th>Harga Lel</th>
<th>Baki</th>
<th>Harga Asas</th>
<th>Pembeli</th>
<th>Keuntungan 6 Bulan</th>
<th>Bayaran Telah Dibuat</th>
</tr>
@php $counter = 1;$totalnilaimarhun = 0; $totalpinjaman = 0; $totalupahsimpan = 0; $totalclel = 0; $totalhargalel = 0; $totalbaki = 0; $totalhargaasas = 0; $totalbakilelong = 0; $totalrugilelong = 0; @endphp
@foreach($tebus as $index=>$item)
@foreach($lelong as $index=>$item)
<tr class="text-center">
<td>{{ $loop->iteration }}</td>
<td>{{ $item['norujukan'] }}</td>
<td>{{ $item['JBG'] }}</td>
<td>{{ $item['IC'] }}</td>
<td>{{ number_format($item['Pembiayaan'],2) }}</td>
<td>{{ number_format($item['upah6'],2) }}</td>
<td>{{ number_format($item['bayaran'],2) }}</td>
</tr>
@endforeach
{{-- @php $counter = 1;$totalnilaimarhun = 0; $totalpinjaman = 0; $totalupahsimpan = 0; $totalclel = 0; $totalhargalel = 0; $totalbaki = 0; $totalhargaasas = 0; $totalbakilelong = 0; $totalrugilelong = 0; @endphp
@foreach($lelong as $index=>$item)
<tr>
<td>{{ $counter }}</td>
<td>{{$item['norujukan']}}</td>
@@ -303,7 +294,7 @@
<td></td>
<td colspan="2"><B> Diterima Oleh</B> </td>
<td> </td>
</tr>
</tr> --}}
</table>