revised generate report

This commit is contained in:
Jagad R R
2025-01-08 15:36:08 +07:00
parent b0c04e30b6
commit 664ff183cd
11 changed files with 1161 additions and 520 deletions
@@ -84,6 +84,7 @@
<thead class="bg-light text-capitalize">
<tr>
<th>#</th>
<th>No Expense</th>
<th>User</th>
<th>Cabang</th>
<th>Nama Penerima</th>
@@ -112,6 +113,7 @@
@foreach ($forms as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->expense_number }}</td>
<td>{{ $item->user->name }}</td>
<td>{{ $item->user->cabang->cabang->name }}</td>
<td>{{ $item->name }}</td>
@@ -84,6 +84,7 @@
<thead class="bg-light text-capitalize" style="width: 100%">
<tr>
<th>#</th>
<th>No Expense</th>
<th>Nama</th>
<th>Cabang</th>
<th>Tanggal</th>
@@ -110,6 +111,7 @@
@foreach ($forms as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->expense_number }}</td>
<td>{{ $item->user->name }}</td>
<td>{{ $item->user->cabang->cabang->name }}</td>
<td>{{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('D MMMM Y') }}</td>
@@ -84,6 +84,7 @@
<thead class="bg-light text-capitalize">
<tr>
<th>#</th>
<th>No Expense</th>
<th>Nama</th>
<th>Cabang</th>
<th>Tanggal</th>
@@ -113,6 +114,7 @@
@foreach ($forms as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->expense_number }}</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>