@php $steps = [ 'configuration' => ['label' => 'Configuration', 'icon' => 'bx-cog', 'active' => true, 'done' => false], 'business-info' => ['label' => 'Business Information', 'icon' => 'bx-file-blank', 'active' => false, 'done' => false], 'owner-info' => ['label' => 'Owner Information', 'icon' => 'bx-user', 'active' => false, 'done' => false], 'products-services' => ['label' => 'Products & Services', 'icon' => 'bx-credit-card', 'active' => false, 'done' => false], 'fee-schedule' => ['label' => 'Fee Schedule', 'icon' => 'bx-dollar-circle','active' => false, 'done' => false], 'docs-signing' => ['label' => 'Docs & Signing', 'icon' => 'bx-pen', 'active' => false, 'done' => false], ]; @endphp @extends('admin.layouts.layout', $headerOption) @section('content')
{{-- ═══ BODY: FORM + SIDEBAR ═══ --}}
{{-- ── Main form column ── --}}
@if(session('error'))
{{ session('error') }}
@endif
{{-- Card header --}}
New Application
{{-- Section title --}}
Initial Configuration
@csrf {{-- Partner --}}
{{-- Association --}}
{{-- Lead Source --}}
{{-- Sales Rep --}}
{{-- Type of Merchant Application --}}
{{-- Actions --}}
Cancel
{{-- end main column --}} {{-- ── Application Steps Sidebar ── --}}
{{-- Sidebar header --}}
Application Steps
{{-- Steps list --}}
    @foreach($steps as $key => $step)
  • {{-- Configuration: active current step (highlight, no nav) --}} {{-- Other steps: locked until lead is created (dim, no nav) --}}
    {{-- Icon --}} {{-- Label --}} {{ $step['label'] }} {{-- Status --}} @if($step['active']) Current @else @endif
  • @if(!$loop->last)

  • @endif @endforeach
{{-- end sidebar --}}
{{-- end body row --}}
{{-- end project-box --}}
{{-- end col-12 --}} {{-- Re-open sidebar button --}} @endsection @push('page_script') @endpush