@extends('layouts.admin') @section('title', 'Application Step Details') @section('breadcrumbs') @endsection @section('content')

@if($applicationStep->icon) @endif {{ $applicationStep->name }}

Step {{ $applicationStep->order_index }} of {{ \App\Models\ApplicationStep::count() }}

Edit Step Back to Steps
Step Information
Name: {{ $applicationStep->name }}
URL Slug: {{ $applicationStep->slug }}
Component: {{ $applicationStep->component_name }}
Order Position: {{ $applicationStep->order_index }}
Icon: @if($applicationStep->icon) {{ $applicationStep->icon }} @else No icon set @endif
Status: @if($applicationStep->is_active) Active @else Inactive @endif
Required: @if($applicationStep->is_required) Required @else Optional @endif
Include in PDF: @if($applicationStep->include_in_pdf) Yes @else No @endif
PDF Section Title: @if($applicationStep->pdf_section_title) {{ $applicationStep->pdf_section_title }} @else Not set @endif
Created: {{ $applicationStep->created_at->format('M d, Y h:i A') }}
@if($applicationStep->description)
Description:

{{ $applicationStep->description }}

@endif
@if($applicationStep->validation_rules)
Validation Rules
{{ json_encode($applicationStep->validation_rules, JSON_PRETTY_PRINT) }}
@endif @if($applicationStep->settings)
Step Settings
{{ json_encode($applicationStep->settings, JSON_PRETTY_PRINT) }}
@endif
Quick Actions
Edit Step @if($applicationStep->is_active)
@csrf
@else
@csrf
@endif
Step Navigation
@php $previousStep = $applicationStep->getPreviousStep(); $nextStep = $applicationStep->getNextStep(); @endphp @if($previousStep) @endif @if($nextStep) @endif @if(!$previousStep && !$nextStep)

This is the only step

@elseif(!$previousStep)

This is the first step

@elseif(!$nextStep)

This is the last step

@endif
Step Statistics
{{ $applicationStep->order_index }}
Position
{{ \App\Models\ApplicationStep::where('is_active', true)->count() }}
Active Steps

Last Updated: {{ $applicationStep->updated_at->format('M d, Y') }}
@endsection