add status in opname datatable with order by created at desc

This commit is contained in:
2025-06-10 19:12:21 +07:00
parent 51079aa567
commit 84fb7ffb52
7 changed files with 32 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
<i class="kt-font-brand flaticon2-list-1"></i>
</span>
<h3 class="kt-portlet__head-title">
Tabel Opnames
Tabel Opname
</h3>
</div>
@can('create', $menus['opnames.index'])
@@ -25,12 +25,14 @@
<div class="kt-portlet__body">
<div class="table-responsive">
<!--begin: Datatable -->
<table class="table table-striped table-bordered table-hover" id="opnames-table" data-url="{{ route("opnames.index") }}">
<table class="table table-striped table-bordered table-hover" id="opnames-table" data-url="{{ route('opnames.index') }}">
<thead>
<tr>
<th>Waktu Dibuat</th>
<th>Tanggal Opname</th>
<th>Dealer</th>
<th>Pengguna</th>
<th>Tanggal</th>
<th>Status</th>
<th>Aksi</th>
</tr>
</thead>