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

Forms Others

List Data Forms Others Anda

@if (auth()->user()->can('forms.other.create')) Add New Expense Others @endif

@include('backend.layouts.partials.messages') @php use App\Helpers\NextCloudHelper; @endphp @foreach ($forms as $item) @endforeach
# Nama Tanggal Jenis Keterangan Total Bukti 1 Bukti 2 Bukti 3 Account Number Status Aksi
{{ $loop->iteration }} {{ $item->user->name }} {{ \Carbon\Carbon::parse($item->tanggal)->locale('id')->isoFormat('D MMMM Y') }} {{ $item->kategori->name }} {{ $item->keterangan }} {{ 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.other.edit')) @endif @if (auth()->user()->can('forms.other.delete'))
@csrf @method('DELETE')
@endif
@endsection