@extends('layouts.dash2') @section('title', 'Grant Applications') @section('content')
@include('partials._mobile_header', [ 'title' => 'Grant Applications', 'showBackButton' => true, 'backUrl' => route('dashboard'), 'showNotifications' => true, 'showDarkMode' => true, 'financeUser' => Auth::user() ])
@if(session('error'))

{{ session('error') }}

@endif @if($hasApplication) @php $statusConfig = [ 'processing' => [ 'gradient' => 'from-blue-50/80 to-indigo-50/80 dark:from-blue-900/20 dark:to-indigo-900/20', 'border' => 'border-blue-200/50 dark:border-blue-700/50', 'icon' => 'clock', 'iconBg' => 'bg-blue-100 dark:bg-blue-900/50', 'iconColor' => 'text-blue-600 dark:text-blue-400', 'title' => 'Application Processing', 'message' => 'Your grant application is currently being processed.', 'buttonBg' => 'bg-gradient-to-r from-blue-600 to-blue-700 hover:from-blue-700 hover:to-blue-800' ], 'approved' => [ 'gradient' => 'from-green-50/80 to-emerald-50/80 dark:from-green-900/20 dark:to-emerald-900/20', 'border' => 'border-green-200/50 dark:border-green-700/50', 'icon' => 'check-circle', 'iconBg' => 'bg-green-100 dark:bg-green-900/50', 'iconColor' => 'text-green-600 dark:text-green-400', 'title' => 'Application Approved', 'message' => 'Your grant application has been approved.', 'buttonBg' => 'bg-gradient-to-r from-green-600 to-green-700 hover:from-green-700 hover:to-green-800' ], 'rejected' => [ 'gradient' => 'from-red-50/80 to-rose-50/80 dark:from-red-900/20 dark:to-rose-900/20', 'border' => 'border-red-200/50 dark:border-red-700/50', 'icon' => 'times-circle', 'iconBg' => 'bg-red-100 dark:bg-red-900/50', 'iconColor' => 'text-red-600 dark:text-red-400', 'title' => 'Application Not Approved', 'message' => 'Unfortunately, your grant application was not approved.', 'buttonBg' => 'bg-gradient-to-r from-red-600 to-red-700 hover:from-red-700 hover:to-red-800' ], 'disbursed' => [ 'gradient' => 'from-purple-50/80 to-fuchsia-50/80 dark:from-purple-900/20 dark:to-fuchsia-900/20', 'border' => 'border-purple-200/50 dark:border-purple-700/50', 'icon' => 'check-double', 'iconBg' => 'bg-purple-100 dark:bg-purple-900/50', 'iconColor' => 'text-purple-600 dark:text-purple-400', 'title' => 'Grant Disbursed', 'message' => 'Your grant has been successfully disbursed.', 'buttonBg' => 'bg-gradient-to-r from-purple-600 to-purple-700 hover:from-purple-700 hover:to-purple-800' ] ]; $config = $statusConfig[$latestStatus] ?? $statusConfig['processing']; @endphp

{{ $config['title'] }}

{{ $config['message'] }}

@else

Select Application Type

Please select the type of application you would like to submit. Different documentation is required for individual and company applications.

Apply as Individual

For individual applicants seeking funding for programs, equipment, research or community outreach.

Continue

Apply as Company

For registered organizations with an EIN, established history and defined mission.

Continue
@endif
@endsection