@extends('layouts.admin') @section('content')

Expense Details

Edit Back to List
@if(session('success')) @endif @if(session('error')) @endif
Expense Information
{{ ucfirst($expense->status) }}
Description: {{ $expense->description }}
Category: {{ ucfirst($expense->category) }}
Event: @if($expense->event) {{ $expense->event->name }} @else N/A @endif
Date: {{ $expense->date->format('d M, Y') }}
Paid By: {{ $expense->paid_by }}
Amount: KES {{ number_format($expense->amount, 2) }}
Created By: {{ $expense->creator->name ?? 'N/A' }}
Updated By: {{ $expense->updater->name ?? 'N/A' }}
Created At: {{ $expense->created_at->format('d M, Y H:i') }}
Last Updated: {{ $expense->updated_at->format('d M, Y H:i') }}
@if($expense->notes)
Notes:

{{ $expense->notes }}

@endif @if($expense->receipt_image)
Receipt Image:
@endif
Update Status
@csrf @method('PUT')
Danger Zone

Delete this expense permanently. This action cannot be undone.

@csrf @method('DELETE')
@endsection