{{-- resources/views/admin/itins/create.blade.php --}} @extends('layouts.base') @section('title', __('Create an itinerary')) @section('content') {{-- Minimal styles for a clean UI --}}

{{ __('Create an itinerary') }}

@if($errors->any())
@endif
@csrf
{{-- Step 1: Name --}}
{{ __('A unique itinerary name.') }}
{{-- Step 2: Company --}}
{{-- Select société (filtré côté contrôleur) --}}
{{-- Step 3: Pro Admin (depends on company) --}}
{{-- Select admin pro (dyn.) --}}
{{-- Step 4: Waypoints for the chosen society + shared to chosen admin --}}
{{ __('Pick a company, then a Pro admin to load waypoints of the company and those shared to that admin. Add and drag to reorder them.') }}
{{-- Available points --}}

{{ __('Available') }}

{{ __('Select a company and a Pro admin.') }}
{{-- Selected (ordered) --}}

{{ __('Selected (drag to reorder)') }}

{{ __('No waypoint selected yet.') }}
{{-- Hidden container to mirror DOM order --}}
@php $urlAdmins = url('/admin/itineraries/admins-for-society'); $urlPoints = url('/admin/itineraries/points-for-society'); @endphp @push('scripts') @endpush @endsection