{{-- resources/views/itins/mine.blade.php --}} @extends('layouts.base') @section('title', __('My itineraries')) @section('content')

{{ __('My itineraries') }}

@if($itins->isEmpty())
{{ __('No itinerary assigned to you yet.') }}
@else @foreach($itins as $it) @php $managerName = trim( ($it->manager_firstname ?? '') . ' ' . ($it->manager_lastname ?? '') ); @endphp {{-- Nom de l'itinéraire --}} {{-- Date planifiée --}} {{-- Société --}} {{-- Responsable (admin pro / manager) --}} {{-- Actions --}} @endforeach
{{ __('Name') }} {{ __('Scheduled date') }} {{ __('Company') }} {{ __('Manager') }} {{ __('Actions') }}
{{ $it->name ?? '—' }} @if(!empty($it->scheduled_date)) {{ \Illuminate\Support\Carbon::parse($it->scheduled_date)->format('d/m/Y') }} @else — @endif {{ $it->society_name ?? '—' }} {{ $managerName !== '' ? $managerName : '—' }} {{ __('Map') }}
@endif
@endsection