@extends('layouts.public') @section('title', 'Application Status') @section('content')
@if($candidate->has_paid_registration_fee)
Verified
@else
Payment Pending
@endif

Application Status

{{ $candidate->first_name }} {{ $candidate->last_name }}

Candidate ID: {{ $candidate->majira_id }}

{{ strtoupper(substr($candidate->first_name, 0, 1)) }}{{ strtoupper(substr($candidate->last_name, 0, 1)) }}
@if($candidate->has_paid_registration_fee)

Account Access

Need to log in? Click below to reset your password and regain access to your account.

@endif @if(!$candidate->has_paid_registration_fee)

Complete Your Application

To view detailed tracking information and proceed with your application, please complete the registration fee payment of KES {{ config('mpesa.registration_fee', 1000) }}.

1 M-Pesa Express (STK Push)

We'll send a payment prompt directly to your phone.

@csrf

Your Journey

@else

Your Journey

@if(!empty($pipeline) && $pipeline[0]['status'] !== 'pending')
@foreach($pipeline as $index => $stage) @php $isCompleted = $stage['status'] === 'completed'; $isInProgress = $stage['status'] === 'in_progress'; $isPending = $stage['status'] === 'pending'; @endphp
@if(!$loop->last)
@endif
@if($isCompleted) @elseif($isInProgress) @else {{ $loop->iteration }} @endif

{{ $stage['name'] }}

@if($isInProgress)

{{ $stage['description'] }}

@endif
@endforeach
@else

No applications yet

Once an application is submitted, you'll be able to track its progress right here.

@endif
@endif
@endsection