{{ __('PRO Profile') }}

{{-- ── Publicatie-vereisten banner (alleen zichtbaar als profiel nog niet gepubliceerd kan worden) ── --}} @php $primaryPhoto = $photos->firstWhere('is_primary', true); $part1Done = $proProfile->exists && ($proProfile->first_name || $proProfile->last_name) && $proProfile->organization_name; $hasPhoto = (bool) $primaryPhoto; $hasSub = $user->is_pro; $readyToPublish = $part1Done && $hasPhoto && $hasSub; @endphp @if (! $readyToPublish)

{{ __('Your PRO profile is not yet published. Complete these steps first:') }}

  • @if ($part1Done) @else @endif {{ __('Fill in your personal information and your practice details') }}
  • {{ __('Upload at least 1 personal photo') }}
  • @if ($hasSub) @else @endif {{ __('Active PRO subscription') }}
@if (! $hasSub) πŸ… {{ __('Buy PRO subscription') }} β†’ @endif
@endif
{{-- ═══════════════════════════════════════════════════════════ Sectie 2 β€” Foto's (AJAX, geen paginanavigatie) ════════════════════════════════════════════════════════════ --}}

{{ __('Photos') }}

{{-- Profielfoto's (beheerd via AJAX, geen redirect) --}} @include('profile.partials.profile-photos', ['photos' => $photos, 'profile' => null, 'hideContactWarning' => true])
{{-- Organisatielogo (optioneel) --}}

{{ __('Organisation logo') }} ({{ __('optional') }})

{{ __('Square or landscape logo, max 400 Γ— 400 px, WebP/JPG/PNG.') }}

@if ($proProfile->logoUrl())
{{ __('Logo') }}
@csrf @method('DELETE')
@endif
@csrf
{{ __('Upload logo') }}
@if (session('status') === 'logo-uploaded')

{{ __('Logo uploaded.') }}

@elseif (session('status') === 'logo-deleted')

{{ __('Logo deleted.') }}

@endif
{{-- ═══════════════════════════════════════════════════════════ Hoofd-PATCH form β€” secties 1, 3 t/m 7 ════════════════════════════════════════════════════════════ --}}
@csrf @method('PATCH') {{-- ───────────────────────────────────────────────────── Sectie 1 β€” Persoonlijke info ────────────────────────────────────────────────────── --}}

{{ __('Personal information') }}

{{-- Account e-mailadres (readonly) --}}

{{ __('This is your login email. It may differ from your professional contact email.') }}

{{-- Profielnummer (readonly) --}}
{{-- Voornaam / Naam --}}
{{-- Geslacht --}}
{{-- Geboortedatum --}}
{{-- Neurodivergent --}}
is_neurodivergent) ? 'checked' : '' }}>

{{ __('This will be shown on your profile and can be used as a filter.') }}

{{-- Talen --}}
@php $langs = ['' => __('β€” select β€”'), 'nl' => 'πŸ‡³πŸ‡± NL', 'en' => 'πŸ‡¬πŸ‡§ EN', 'fr' => 'πŸ‡«πŸ‡· FR', 'de' => 'πŸ‡©πŸ‡ͺ DE', 'es' => 'πŸ‡ͺπŸ‡Έ ES']; @endphp
{{-- ───────────────────────────────────────────────────── Sectie 3 β€” Praktijkgegevens ────────────────────────────────────────────────────── --}}

{{ __('Practice details') }}

{{-- Wachtlijst --}}
waitlist) ? 'checked' : '' }}>
{{-- Prijs voor een consult --}}
{{-- Actief sinds --}}
@php $countryOptions = \App\Helpers\CountryHelper::options(); @endphp

{{ __('Shown publicly on your PRO profile. Leave blank to hide.') }}

{{-- ───────────────────────────────────────────────────── Sectie 4 β€” Achtergrond ────────────────────────────────────────────────────── --}}

{{ __('Background') }}

@include('events._rtf-editor', [ 'fieldName' => 'about_me', 'initialContent' => old('about_me', $proProfile->about_me), 'minHeight' => '9rem', ])
{{-- Beroepsvereniging --}}
{{-- RIZIV β€” only for physiotherapists --}}
{{-- Psychologencommissie + Visumnummer β€” only for psychologists --}}
{{-- ───────────────────────────────────────────────────── Sectie 5 β€” Ondersteuningsvormen (accordion picker) ────────────────────────────────────────────────────── --}}

{{ __('Forms of support') }}

{{ __('Select all that apply. Open a category to see the options.') }}

{{-- Selected pills summary --}}
{{-- Hidden inputs picked up by FormData on save --}} {{-- Accordion --}} @php $taxonomy = \App\Models\ProProfile::supportFormTaxonomy(); @endphp
@foreach ($taxonomy as $cat) @php $catSlugs = collect($cat['subcats']) ->flatMap(fn($s) => array_keys($s['tags'])) ->values()->all(); @endphp
@foreach ($cat['subcats'] as $subcat)

{{ __($subcat['label']) }}

@foreach ($subcat['tags'] as $slug => $label) @endforeach
@endforeach
@endforeach
{{-- ───────────────────────────────────────────────────── Sectie 5b β€” Hoe, voor wie & wat ────────────────────────────────────────────────────── --}}

{{ __('How, for whom & what') }}

{{ __('Service format') }}

@foreach (\App\Models\ProProfile::serviceFormatOptions() as $key => $label) @endforeach

{{ __('Target group') }}

@foreach (\App\Models\ProProfile::targetGroupOptions() as $key => $label) @endforeach

{{ __('Focus topics') }}

@foreach (\App\Models\ProProfile::focusTopicOptions() as $key => $label) @endforeach
{{-- ───────────────────────────────────────────────────── Sectie 6 β€” Expertise ────────────────────────────────────────────────────── --}}

{{ __('Expertise') }}

{{ __('I support people with') }}

@foreach (\App\Models\ProProfile::supportForOptions() as $key => $label) @endforeach
{{-- ───────────────────────────────────────────────────── Sectie 7 β€” Links ────────────────────────────────────────────────────── --}} {{-- Verborgen submit-knop voor de bottom bar --}}
@push('bottom-bar-buttons')
@if ($proProfile->exists) {{ __('View profile') }} @endif
@endpush @push('head') @endpush @push('scripts') @endpush