@extends('layouts.app') @section('title', 'Application Details') @section('content')

{{ $application->business_name }}

Application #{{ $application->id }}

{{ ucfirst($application->status) }}

License Type

{{ $application->license_type }}

Submitted Date

{{ $application->created_at->format('F d, Y') }}

Applicant Name

{{ $application->user->name }}

Email

{{ $application->user->email }}

Business Description

{{ $application->description }}

@if($application->status === 'approved' && $application->license)

License Issued

License Number

{{ $application->license->license_number }}

Issue Date

{{ $application->license->issue_date->format('M d, Y') }}

Expiry Date

{{ $application->license->expiry_date->format('M d, Y') }}

Status

@if($application->license->is_revoked)

REVOKED

@else

ACTIVE

@endif
@if($application->license->is_revoked)

Revocation Reason:

{{ $application->license->revoked_reason }}

Revoked on: {{ $application->license->revoked_at->format('F d, Y \a\t h:i A') }}

@else
@endif
@endif @if($application->status === 'rejected')

Application Rejected

Unfortunately, your application has been rejected. Please review the requirements and submit a new application if you wish to reapply.

@endif @if($application->status === 'pending')

Under Review

Your application is currently being reviewed by our team. We'll notify you once a decision has been made. This typically takes 3-5 business days.

@endif

Application Timeline

Application Submitted

{{ $application->created_at->format('F d, Y \a\t h:i A') }}

@if($application->status !== 'pending')

Application {{ ucfirst($application->status) }}

{{ $application->updated_at->format('F d, Y \a\t h:i A') }}

@endif
@endsection