Application Details

Back to List
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (!$idMunicipal)
Application data not found!
@else

Application #{{ $application->id }} - {{ $idMunicipal->application_number ?? 'N/A' }}

Customer Information

Customer Name:
{{ $application->customer->full_name ?? 'N/A' }}
Service Type:
{{ $application->service->name ?? 'N/A' }}
Office:
{{ $application->office->name ?? 'N/A' }}
Application Level:
{{ $idMunicipal->level ?? 'N/A' }}
Requested Date:
{{ $application->created_at->format('d M, Y H:i A') ?? 'N/A' }}
Appointment Date:
{{ $idMunicipal->followup_date ?? 'N/A' }} By {{ $idMunicipal->followupBy->name ?? 'N/A' }}
Status:
@php $status = strtolower($idMunicipal->status ?? ''); $statusConfig = [ 'approved' => ['class' => 'bg-success', 'icon' => 'fa-check-circle'], 'request' => ['class' => 'bg-info', 'icon' => 'fa-hourglass-half'], 'rejected' => ['class' => 'bg-danger', 'icon' => 'fa-times-circle'], 'accept' => ['class' => 'bg-primary', 'icon' => 'fa-thumbs-up'], 'accept' => ['class' => 'bg-primary', 'icon' => 'fa-thumbs-up'], 'collectid' => ['class' => 'bg-primary', 'icon' => 'fa-thumbs-up'], 'photoappointment' => ['class' => 'bg-primary', 'icon' => 'fa-thumbs-up'], 'default' => ['class' => 'bg-secondary', 'icon' => 'fa-question-circle'], ]; $currentStatus = $statusConfig[$status] ?? $statusConfig['default']; @endphp {{ ucfirst($status) ?: 'N/A' }}
Officer Approval

@if ($canReject)
@csrf
@endif @if (($idMunicipal->status ?? '') == 'request' && $application->service->is_leader_approve_required)
@csrf
. @elseif(($idMunicipal->status ?? '') == 'accept')
Accepted by: {{ $idMunicipal->acceptedBy->name ?? 'Unknown' }}

@if ($idMunicipal->id ?? false)
@if (($idMunicipal->status ?? '') == 'approved')
Approved by: {{ $idMunicipal->approvedBy->name ?? 'Unknown' }}
@else
@if ($showApprovalButtons)
@csrf
@endif @endif
@endif
@elseif(($idMunicipal->status ?? '') == 'approved') @if ($showcollectID1Button)
@csrf
Processing Time: {{ $processingTime }} days (Level: {{ $idMunicipal->level }})
@endif @if ($showPhotoAppointmentButton)
@csrf
Processing Time: {{ $processingTime }} days (Level: {{ $idMunicipal->level }})
@endif @elseif(($idMunicipal->status ?? '') == 'photoappointment')
followupBy by: {{ $idMunicipal->followupBy->name ?? 'Unknown' }}
Photo Session Scheduled By: {{ $idMunicipal->followupBy->name ?? 'Unknown' }}
Scheduled Date: {{ Carbon\Carbon::parse($idMunicipal->followup_date)->format('F j, Y') }}
@if (Carbon\Carbon::parse($idMunicipal->followup_date)->isToday())
@csrf
@elseif(Carbon\Carbon::parse($idMunicipal->followup_date)->isPast())
Photo session date has passed but wasn't processed
@else
Photo session scheduled for: {{ Carbon\Carbon::parse($idMunicipal->followup_date)->format('F j, Y') }}
@endif @if ($idMunicipal->status == 'photo_completed' || Carbon\Carbon::parse($idMunicipal->followup_date)->isPast())
Schedule ID Collection
@csrf
ID Processing Time: {{ $processingTime }} days (Level: {{ $idMunicipal->level }})
@endif
@endif

Supporting Documents
@if ($idMunicipal->new_id_file ?? false) Download

Attached File

@else @endif @if ($idMunicipal->spelling_error_file ?? false) Download

Attached File

@else @endif @if ($idMunicipal->name_change_file ?? false) Download

Attached File

@else @endif @if ($idMunicipal->birth_date_change_file ?? false) Download

Attached File

@else @endif @if ($idMunicipal->birthplace_change_file ?? false) Download

Attached File

@else @endif @if ($idMunicipal->house_number_change_file ?? false) Download

Attached File

@else @endif @if ($idMunicipal->job_position_change_file ?? false) Download

Attached File

@else @endif @if ($idMunicipal->lost_id_file ?? false) Download

Attached File

@else @endif @if ($idMunicipal->renewal_id_file ?? false) Download

Attached File

@else @endif
@endif