added first split

This commit is contained in:
hafifierahman
2024-12-01 01:35:07 +08:00
parent 846f56433a
commit ffdc965e3c
3 changed files with 122 additions and 35 deletions
@@ -1,35 +1,104 @@
<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>
</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>
</tr>
@endforeach
</tbody>
</table>
<i class="hide-xs text-success" style="font-size:12px;">"Swipe" ke kiri</i>
<div class="row justify-space-between py-2">
<div class="col-lg-6 col-md-8 col-sm-6 mx-auto">
<div class="nav-wrapper position-relative end-0">
<ul class="nav nav-pills nav-fill p-1" role="tablist">
<li class="nav-item">
<a class="nav-link mb-0 px-0 py-1 d-flex align-items-center justify-content-center active"
data-bs-toggle="tab"
href="#tabs-icons-text-2"
role="tab"
aria-controls="tabs-icons-text-2"
aria-selected="true">
<i class="material-icons text-sm me-2">person</i> PKB
</a>
</li>
<li class="nav-item">
<a class="nav-link mb-0 px-0 py-1 d-flex align-items-center justify-content-center"
data-bs-toggle="tab"
href="#tabs-icons-text-3"
role="tab"
aria-controls="tabs-icons-text-3"
aria-selected="false">
<i class="material-icons text-sm me-2">group</i> KOPKB
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="tab-content table-hover">
<!-- Tab Content 1 -->
<div class="tab-pane fade show active table-responsive table-bordered table-hover" id="tabs-icons-text-2" role="tabpanel" aria-labelledby="tabs-icons-text-2">
<table class="table align-items-center table-flush border" 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>
</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>
</tr>
@endforeach
</tbody>
</table>
<i class="hide-xs text-success" style="font-size:12px;">"Swipe" ke kiri</i>
</div>
<!-- Tab Content 2 -->
<div class="tab-pane fade table-responsive table-bordered table-hover" id="tabs-icons-text-3" role="tabpanel" aria-labelledby="tabs-icons-text-3">
<table class="table align-items-center table-flush border" 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>
</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>
</tr>
@endforeach
</tbody>
</table>
<i class="hide-xs text-success" style="font-size:12px;">"Swipe" ke kiri</i>
</div>
</div>