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

Forms Up Country

List Data Forms Up Country Anda

@if (auth()->user()->can('forms.country.create')) Add New Expense Up Country @endif

@include('backend.layouts.partials.messages') @php use App\Helpers\NextCloudHelper; @endphp @foreach ($forms as $item) @endforeach
# Nama Rayon Tanggal Tujuan Jarak Allowance Total Bukti 1 Bukti 2 Bukti 3 Account Number Status Aksi
{{ $loop->iteration }} {{ $item->user->name }} {{ $item->rayon->code }} {{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('D MMMM Y') }} {{ $item->tujuan }} {{ $item->jarak }} km {{ number_format($item->allowance, 0, ',', '.') }} {{ number_format($item->total, 0, ',', '.') }} @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.country.edit')) @endif @if (auth()->user()->can('forms.country.delete'))
@csrf @method('DELETE')
@endif
@endsection