added crud data master region & cabang

This commit is contained in:
Jagad R R
2025-01-08 14:12:45 +07:00
parent 1027b0dfb4
commit 314fefd52d
27 changed files with 983 additions and 15 deletions
@@ -85,6 +85,7 @@
<tr>
<th>#</th>
<th>Nama</th>
<th>Cabang</th>
<th>Tanggal</th>
<th>Liter</th>
<th>Total</th>
@@ -113,6 +114,7 @@
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->user->name }}</td>
<td>{{ $item->user->cabang->cabang->name }}</td>
<td>{{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('dddd, D MMMM Y HH:mm:ss') }}</td>
<td>{{ $item->liter }}</td>
<td>{{ number_format($item->total, 0, ',', '.') }}</td>
@@ -327,7 +329,7 @@
$('#dataTable').DataTable({
responsive: false,
dom: 'Bfrtip',
buttons: ['excel', 'pdf', 'print']
buttons: ['excel', 'pdf', 'print', 'colvis'],
});
}