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

{{ $title }}

@foreach ($reimbursement as $re) @endforeach
No. Tanggal Nama Event Kategori Status Jumlah Qty Total Partner Sisa 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) }} {{ $re->qty ?? '-' }} Rp {{ number_format($re->total) }} @foreach ($re->items as $item)

{{ $item->user->name ?? '-' }} - Rp {{ number_format($item->fee) }}

@endforeach
Rp {{ number_format($re->sisa) }} @if($re->file_path) {{ $re->file_name }} @else - @endif
    @if ($re->status == 'Pending')
  • @method('delete') @csrf
  • @endif
{{ $reimbursement->links() }}

@push('script') @endpush @endsection