{{-- Action Buttons on Top --}}
@if($application->status ==='accept' and $application->forgdh->count() > 0) View Letter @endif @if($application->status == 'Assigned')
@csrf @method('PATCH')
{{-- Trigger Reject Modal --}} @elseif($application->status === 'accepted' and Auth::user()->role=='Officer') Prepare Letter for Customer @endif
{{-- Show Rejection Reason If Rejected --}} @if($application->status == 'rejected')
Application Rejected

Reason: {{ $application->reject_reason }}

@endif @if($application->status ==='accepted') View Letter @endif

Application Details


Application No: {{ $application->application_number }}

Customer: {{ $application->customer->full_name ?? 'N/A' }}

Service: {{ $application->service->name ?? 'N/A' }}

Office: {{ $application->office->name ?? 'N/A' }}

Project Name: {{ $application->project_name ?? 'N/A' }}

Project Type: {{ $application->project_type ?? 'N/A' }}

Project Sub-City: {{ $application->subcity->name ?? 'N/A' }}

Project Woreda: {{ $application->woreda->name ?? 'N/A' }}

Book Number: {{ $application->book_number ?? 'N/A' }}

Carta Number: {{ $application->carta_number ?? 'N/A' }}

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

Assigned Officer: {{ optional($application->assignments->first()?->officer)->name ?? 'Not Assigned' }}

Assigned Date: {{ optional($application->assignments->first())->created_at ? optional($application->assignments->first())->created_at->format('d M Y') : 'N/A' }}


Proposal File

@if($application->files)
📂 Documents
📂 Download File @else

No files uploaded.

@endif @if($application->proposal_file)
📂 Proposal File
Download @else

No proposal file uploaded.

@endif Back
{{-- Reject Confirmation Modal --}}