@include('backend.layouts.partials.messages')
| # |
No Expense |
Nama |
Cabang |
Tanggal |
Liter |
Total |
Total Approved |
Jarak |
Tipe Bensin |
Nomor Polisi |
Bukti |
Account Number |
Status |
@foreach ($forms as $item)
| {{ $loop->iteration }} |
{{ $item->expense_number }} |
{{ $item->user->name }} |
{{ $item->user->cabang->cabang->name }} |
{{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('dddd, D MMMM Y HH:mm:ss') }} |
{{ $item->liter }} |
{{ number_format($item->total, 0, ',', '.') }} |
{{ number_format($item->approved_total, 0, ',', '.') }} |
{{ $item->jarak }} km |
{{ $item->tipe_bensin }} |
{{ $item->nopol }} |
@if ($item->bukti_total)
Download
@else
-
@endif
|
{{ $item->account_number }} |
@if ($item->status == 'On Progress')
{{ $item->status }}
@elseif ($item->status == 'Approved' || $item->status == 'Final Approved')
{{ $item->status }}
@else
{{ $item->status }}
@endif
|
@endforeach