@extends('layouts.app') @section('title') Dashboard @endsection @section('admin-content')

Forms Vehicle Running Cost

List Data Forms Vehicle Running Cost Anda

@if (auth()->user()->can('forms.vehicle.create')) Add New Expense Vehicle Running Cost @endif

@include('backend.layouts.partials.messages') @php use App\Helpers\NextCloudHelper; @endphp @foreach ($forms as $item) @endforeach
# Nama Tanggal Liter Harga Jarak Tipe Bensin Nomor Polisi Bukti 1 Bukti 2 Bukti 3 Account Number Status Aksi
{{ $loop->iteration }} {{ $item->user->name }} {{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('dddd, D MMMM Y HH:mm:ss') }} {{ $item->liter }} {{ number_format($item->harga, 0, ',', '.') }} {{ $item->jarak }} {{ $item->tipe_bensin }} {{ $item->nopol }} @if ($item->bukti1) Download @else - @endif @if ($item->bukti2) Download @else - @endif @if ($item->bukti3) Download @else - @endif {{ $item->account_number }} @if ($item->status == 'On Progress') {{ $item->status }} @elseif ($item->status == 'Completed') {{ $item->status }} @else {{ $item->status }} @endif @if (auth()->user()->can('forms.vehicle.edit')) @endif @if (auth()->user()->can('forms.vehicle.delete'))
@csrf @method('DELETE')
@endif
@endsection