add crud signer
This commit is contained in:
45
Resources/views/pages/table_signer.blade.php
Normal file
45
Resources/views/pages/table_signer.blade.php
Normal file
@ -0,0 +1,45 @@
|
||||
<table class="table table-striped " id="table4">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center">No</th>
|
||||
<th class="text-center">Deputy Director</th>
|
||||
<th class="text-center">Executive Officer</th>
|
||||
<th class="text-center" width="100px">Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="dataBody">
|
||||
@php
|
||||
$no = 1;
|
||||
@endphp
|
||||
@if (count($data['signer']) > 0)
|
||||
@foreach ($data['signer'] as $item)
|
||||
<tr class="row-none">
|
||||
<td class="text-center">{{($no++ )}}</td>
|
||||
<td class="text-center">{{$item['deputy_director_name']}}</td>
|
||||
<td class="text-center">{{$item['executive_officer_name']}}</td>
|
||||
<td class="text-center">
|
||||
<a href="#" class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-warning btn-sm me-1 btnEditSigner" data-id="{{$item['id']}}">{!!getIcon("pencil", "fs-1 text-warning","duotune") !!}</a>
|
||||
<a href="#" class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-danger btn-sm me-1 btnDeleteSigner"data-id="{{$item['id']}}">{!! getIcon("trash", "fs-1 text-danger","duotune") !!}</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@else
|
||||
<tr class="row-none">
|
||||
<td colspan="10" class="text-center">Tidak Ada Data Yang Ditampilkan</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
<tr style="display:none" class="loading1">
|
||||
<td colspan="10" class="text-center">
|
||||
<div class="spinner-border" role="status">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{{ $data['signer']->appends(['status'=>1])->links('pagination::bootstrap-5') }}
|
||||
{{-- {!! $data['fasilitas']->links('pagination::bootstrap-5') !!} --}}
|
||||
{{-- {!! $data['fasilitas']->links() !!} --}}
|
||||
|
Reference in New Issue
Block a user