@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)
@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:
@foreach($steps as $index => $step)
@if($step->icon)
@endif
{{ $step->name }}
@if($index < $steps->count() - 1)
@endif
@endforeach
@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