baki tuntut fix
This commit is contained in:
@@ -134,8 +134,8 @@
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>Masa</th>
|
||||
<th>Debit</th>
|
||||
<th>Kredit</th>
|
||||
<th>Debit (RM)</th>
|
||||
<th>Kredit (RM)</th>
|
||||
<th>Nota</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -149,8 +149,8 @@
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Pinjaman</th>
|
||||
<th>Nilai Marhun</th>
|
||||
<th>Pinjaman (RM)</th>
|
||||
<th>Nilai Marhun (RM)</th>
|
||||
<th>Jenis Transaksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -181,12 +181,30 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>Masa</th>
|
||||
<th>Debit</th>
|
||||
<th>Kredit</th>
|
||||
<th>Nota</th>
|
||||
<th>Tarikh</th>
|
||||
<th>Caj Lelong (RM)</th>
|
||||
<th>Jumlah (RM)</th>
|
||||
<th>Jenis</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if(is_object($tuntutbaki) || is_array($tuntutbaki))
|
||||
@foreach($tuntutbaki as $tb)
|
||||
<tr>
|
||||
<td> {{ $loop->iteration }} </td>
|
||||
<td> {{ $tb['tarikh'] }} </td>
|
||||
<td> {{ $tb['cajlelong'] }} </td>
|
||||
<td> {{ $tb['jumlah'] }} </td>
|
||||
<td> @php if($tb['jenis'] == 'T'){
|
||||
echo '<h4><span class="badge badge-success">Baki Lelong</span></h4>';
|
||||
}else{
|
||||
echo '<h4><span class="badge badge-danger">Rugi Lelong</span></h4>';
|
||||
}
|
||||
@endphp </td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user