@extends('layouts.app') @section('page-title', 'Field Expenses') @section('content')
@if(session('status'))| Title | Requested By | Dates | Requested Amount | Status | |
|---|---|---|---|---|---|
| {{ $fe->title }} | {{ trim(($fe->user->first_name ?? '') . ' ' . ($fe->user->last_name ?? '')) ?: '—' }} | {{ optional($fe->start_date)->format('d M Y') }} – {{ optional($fe->end_date)->format('d M Y') }} | KES {{ number_format($fe->requested_amount, 2) }} | {{ ucfirst(str_replace('_', ' ', $fe->status)) }} | Review |
| Title | Dates | Requested Amount | Approved Amount | Status | |
|---|---|---|---|---|---|
| {{ $fe->title }} | {{ optional($fe->start_date)->format('d M Y') }} – {{ optional($fe->end_date)->format('d M Y') }} | KES {{ number_format($fe->requested_amount, 2) }} | {{ $fe->approved_amount !== null ? 'KES ' . number_format($fe->approved_amount, 2) : '—' }} | {{ ucfirst(str_replace('_', ' ', $fe->status)) }} | View |
| You haven't submitted any field expense requests yet. | |||||