add column onepercent & ujrah

This commit is contained in:
Azfar Arsyad
2023-12-06 17:16:41 +08:00
parent c5a72a0445
commit 336d118026
@@ -204,11 +204,14 @@
<th>Pembiayaan Asal (RM)</th> <th>Pembiayaan Asal (RM)</th>
<th>Baki Pembiayaan (RM)</th> <th>Baki Pembiayaan (RM)</th>
<th>Kadar Upah</th> <th>Kadar Upah</th>
<th>Tempoh Belum Bayar</th> <th>Tempoh B.Bayar</th>
<th>Keuntungan Belum Bayar (RM)</th> <th>Untung B.Bayar(RM)</th>
<th>Utg 1%(RM) </th>
<th>Ujrah(RM)</th>
<th>Lanjutan</th> <th>Lanjutan</th>
</thead> </thead>
@php $counter = 1;$totalpinjaman = 0; @endphp @php $counter = 1;$totalpinjaman = 0; @endphp
{{-- {{dd($stokaudit['rekod'])}} --}}
@foreach($stokaudit['rekod'] as $index=>$item) @foreach($stokaudit['rekod'] as $index=>$item)
<tr> <tr>
<td>{{ $counter }}</td> <td>{{ $counter }}</td>
@@ -220,8 +223,13 @@
<td>{{ number_format($item['pinjaman'],2) }}</td> <td>{{ number_format($item['pinjaman'],2) }}</td>
<td>{{ number_format($item['bakipjm'],2) }}</td> <td>{{ number_format($item['bakipjm'],2) }}</td>
<td>{{ number_format($item['kadarupah'],2) }}</td> <td>{{ number_format($item['kadarupah'],2) }}</td>
<td>{{ number_format($item['tempohblmbyar'],2) }}</td> <td>{{ number_format($item['tempohblmbyar'],2) }}</td>
<td>{{ number_format($item['upahblmbyar'],2) }}</td> <td>{{ number_format($item['upahblmbyar'],2) }}</td>
<td>{{ number_format($item['pinjaman']* 0.01,2) }}</td>
@if($item['ujrah'] ='')
<td> {{ number_format($item['ujrah'],2) }} </td>
@endif
<td>{{$item['lanjutan']}}</td> <td>{{$item['lanjutan']}}</td>
</tr> </tr>
@php $counter++; @endphp @php $counter++; @endphp