@extends('admin.layout.app') @section('body')
{{-- Alerts --}} @if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif {{-- Header --}}

Expense Details

View full information about this expense
{{-- Expense Info --}}
ID
{{ $expense->id }}
Laborer
{{ optional($expense->laborer)->name ?? '—' }}
Date Spent
{{ optional($expense->spent_at)->format('Y-m-d') ?? '—' }}
Amount
${{ number_format((float)$expense->amount, 2) }}
Description
{{ $expense->description ?? '—' }}
Created At
{{ $expense->created_at->format('Y-m-d H:i') }}
Last Updated
{{ $expense->updated_at->format('Y-m-d H:i') }}
{{-- Delete --}}
@csrf @method('DELETE')
@endsection @section('scripts') {{-- Font Awesome (if not loaded globally) --}} @endsection