@extends('templates.dashboard') @section('isi')

{{ $title }}

@foreach ($reimbursement as $re) @endforeach
No. Tanggal Nama Event Kategori Status Jumlah File Actions
{{ $loop->iteration }} {{ $re->tanggal ?? '-' }} {{ $re->user->name ?? '-' }} {{ $re->event ?? '-' }} {{ $re->kategori->name ?? '-' }} @if($re->status == 'Pending') Pending @elseif($re->status == 'Approved') Approved @else Rejected @endif Rp {{ number_format($re->jumlah) }} @if($re->file_path) {{ $re->file_name }} @else - @endif
    @if ($re->status == 'Pending')
  • @method('delete') @csrf
  • @endif
{{ $reimbursement->links() }}

@push('script') @endpush @endsection