fix laporan

This commit is contained in:
MUHD HAFIFIE
2021-07-06 16:50:03 +08:00
parent 82d370c01e
commit 065b492050
3 changed files with 64 additions and 46 deletions
@@ -198,10 +198,10 @@
<th>Norujukan</th>
<th>Nama</th>
<th>No KP</th>
<th>T Gadai</th>
<th>T Tebus</th>
<th>Masa</th>
<th>JBG</th>
<th>J Tebus</th>
<th width="6%;">Nilai Marhun(RM)</th>
<th width="6%;">Pembiayaan(RM)</th>
<th width="6%;">Upah/Keuntungan(RM)</th>
<th width="6%;">Bayaran(RM)</th>
@@ -229,21 +229,17 @@
<td>{{ $item['nama'] }}</td>
<td>{{ $item['nokp'] }}</td>
<td>
@php
$myDateTime = DateTime::createFromFormat('Y-m-d', $item['t_gadai']);
$formattedweddingdate = $myDateTime->format('d-m-Y');
echo($formattedweddingdate);
@endphp
</td>
<td>
@php
$myDateTime = DateTime::createFromFormat('Y-m-d', $item['t_tebus']);
$formattedweddingdate = $myDateTime->format('d-m-Y');
echo($formattedweddingdate);
@php
$dt = new DateTime($item['tarikh_bayaran']);
$time = $dt->format('h:i:s');
echo date($time);
@endphp
</td>
<td>{{ $item['jbg'] }}</td>
<td>{{$item['jenistebus']}}</td>
<td>
{{ number_format($item['nilaimarhun'],2) }}
</td>
<td>{{ number_format($item['pinjaman'],2) }}</td>
<td>{{ number_format($item['bakiupah'],2) }}</td>
<td>{{ number_format($item['bakipjm'],2) }}</td>
@@ -334,8 +330,6 @@
</tr>
</table>
{{-- <h5 style="float:right;">JUMLAH KESELURUHAN BAYARAN : RM {{ number_format($totalbayaran,2) }}</h5> --}}
<br>
<br>
<table id="sign">