@extends('layouts.public') @section('title', 'Register — '.$category->name) @php $corporate = $category->entity_type === 'corporate'; $isReq = fn (string $field): bool => in_array($field, $requiredFields, true); $star = fn (bool $required): string => $required ? ' (required)' : ''; // Fields whose requiredness depends on category type (mirrors StoreRegistrationRequest). $dobRequired = ! $corporate || $isReq('date_of_birth'); $provinceRequired = ! $corporate || $isReq('province'); $showOrganisation = $corporate || collect($requiredFields)->contains(fn ($f) => str_starts_with($f, 'organisation_') || $f === 'company_role'); $showBooth = $isReq('booth_request') || $isReq('products_services') || $category->slug === 'exhibitor'; $showSponsor = $isReq('sponsorship_interest') || $category->slug === 'sponsor'; $showMedia = $isReq('media_outlet') || $category->slug === 'media'; $selectedInterests = (array) old('interests', []); $full = $remainingCapacity !== null && $remainingCapacity <= 0; @endphp @section('content')
← Change category

{{ $category->name }}

@if ($category->description)

{{ $category->description }}

@endif
@if ($full)
This category is currently full. You can still register and will be placed on the waitlist.
@elseif ($category->requires_manual_approval)
Registrations in this category are reviewed by the organisers before a badge is issued.
@endif @if ($errors->any()) @endif
@csrf {{-- Honeypot --}} {{-- ===== About you ===== --}}
About you

About you

As it should appear on your badge.

We send a verification code to this number.

@if ($category->min_age || $category->max_age)

Open to ages {{ $category->min_age ?? 'any' }}{{ $category->max_age ? '–'.$category->max_age : '+' }}.

@endif
@unless ($corporate)

Provide your national ID or passport number. It is stored encrypted.

@endunless

JPG or PNG, at least 200 × 200 px, up to {{ number_format(config('event.registration.photo_max_kb') / 1024, 0) }} MB. Appears on your badge.

{{-- ===== Organisation ===== --}} @if ($showOrganisation)
Organisation

Your organisation

@if ($showBooth)
@endif @if ($showSponsor)
@endif
@endif @if ($showMedia && ! $showOrganisation)
Media

Media accreditation

@elseif ($showMedia)
@endif {{-- ===== Interests & access ===== --}}
Interests and access

Interests & access

Topics you care about{!! $star($isReq('interests')) !!}

@foreach ($interests as $value => $label) @endforeach
{{-- ===== Documents ===== --}} @if (count($requiredDocuments))
Supporting documents

Supporting documents

PDF, JPG or PNG, up to {{ number_format(config('event.registration.upload_max_kb') / 1024, 0) }} MB each.

@foreach ($requiredDocuments as $type)
@endforeach
@endif {{-- ===== Consent ===== --}}
Consent
Back
@endsection