Files
erahn-click/resources/views/includes/partials/table-pembiayaan.blade.php
T
2024-11-23 22:27:08 +08:00

39 lines
1.9 KiB
PHP

<div class="table-responsive table-bordered table-hover">
<table class="table align-items-center table-flush border" id="main-table" style="text-align: center; width: 100%">
<thead class="thead-light bg-dark text-white text-center">
<tr>
<th>#</th>
<th>No Rujukan</th>
<th class="hide-xs">Tempoh</th>
<th>T Akhir</th>
<th>Keuntungan</th>
<th class="hide-xs">Cawangan</th>
<th class="hide-xs">Surat Wakil</th>
</tr>
</thead>
<tbody class="list">
@foreach ($pembiayaan as $data)
<tr>
<td>
<input type="checkbox" name="chkboxsag[]" value="{{ $data->norujukan }}"
id="sag-{{ $loop->iteration }}" data-norujukan="{{ $data->norujukan }}"
{{ $data->disabled_payment ? 'disabled' : '' }} />
</td>
<td>
<a href="#" class="marhun-detail-link">
<span class="text-sm text-info">{{ $data->norujukan }}</span>
</a>
</td>
<td class="hide-xs">{{ $data->tempoh }}</td>
<td>{{ $data->tarikh_akhir }}</td>
<td>{{ $data->upah_tawarruq_formatted }}</td>
<td class="hide-xs">{{ $data->cawangan_name }}</td>
<!-- <td><a href="{{ route('cust.print.suratwakil',[$data->kodcaw, $data->norujukan]) }}" target='_blank'><i class='fa-solid fa-print'></i></a></td> -->
<td><a href="{{ route('cust.print.suratwakil',[$data->kodcaw, $data->norujukan]) }}" target='_blank'>🖨️</a></td>
</tr>
@endforeach
</tbody>
</table>
<i class="hide-xs text-success" style="font-size:12px;">"Swipe" ke kiri</i>
</div>