@extends('layouts.admin') @section('title', 'Application Steps Preview') @section('breadcrumbs') @endsection @section('content')

Application Steps Preview

Preview how applicants will see the application process

Back to Management
Preview Mode: This shows how the application steps will appear to applicants. Only active steps are displayed in the order you've configured.
Applicant View - Application Process
@if($steps->count() > 0)
Progress Indicator (Two-Row Layout):
@php $stepsPerRow = ceil($steps->count() / 2); $firstRowSteps = $steps->take($stepsPerRow); $secondRowSteps = $steps->skip($stepsPerRow); @endphp
@foreach($firstRowSteps as $index => $step)
{{ $step->order_index }}
{{ $step->name }}
@endforeach
@if($secondRowSteps->count() > 0)
@foreach($secondRowSteps as $step)
{{ $step->order_index }}
{{ $step->name }}
@endforeach
@endif

@foreach($steps as $step)
{{ $step->order_index }}
@if($step->icon) @endif
{{ $step->name }}
@if($step->description)

{{ $step->description }}

@endif
@if($step->is_required) Required @else Optional @endif @if($step->include_in_pdf) PDF @endif @if(!$step->is_active) Inactive @endif
@endforeach

Navigation Flow:
@php $pdfSteps = $steps->where('include_in_pdf', true); @endphp @if($pdfSteps->count() > 0)
PDF Sections ({{ $pdfSteps->count() }} sections):
@foreach($pdfSteps as $index => $step)
{{ $index + 1 }}.
{{ $step->pdf_section_title ?: $step->name }}
@endforeach
@endif
{{ $steps->count() }}
Total Steps
{{ $steps->where('is_required', true)->count() }}
Required Steps
{{ $steps->where('include_in_pdf', true)->count() }}
PDF Sections
{{ $steps->where('is_active', true)->count() }}
Active Steps
@else
No Active Steps Found

There are no active application steps configured. Applicants won't be able to complete the application process.

Create First Step
@endif
@endsection