@extends('layouts.admin') @section('title', 'Scheme Applications') @section('content')

All Applications

+ New Application
@if(request('search') || request('status')) Clear @endif
@forelse($applications as $app) @empty @endforelse
App IDSchemeApplicantStatusRenewalSubmittedAction
APP-{{ str_pad($app->id, 5, '0', STR_PAD_LEFT) }} {{ $app->scheme->name }} {{ collect([$app->user?->name, $app->family?->head_name])->filter()->join(' / ') }} @if($app->status === 'Submitted') Submitted @elseif($app->status === 'Approved') Approved @elseif($app->status === 'Declined') Declined @else {{ $app->status }} @endif {{ $app->renewal_date?->format('d M Y') ?: '—' }} {{ $app->created_at->format('d M Y') }} View
No applications found.
{{ $applications->links() }}
@endsection