@php $layout = Auth::check() && Auth::user()->role === 'company' ? 'layouts.entreprise_base' : 'layouts.home'; @endphp @extends($layout) @section('content')
@if(auth()->user()->role == 'candidate') {{ $conversation->postulation->offre->entreprise->nom }} @else {{ $conversation->postulation->candidate->first_name }} @endif
{{ $lastMessage ? Str::limit($lastMessage->content, 50) : 'Aucun message' }}
Sélectionnez une conversation pour voir les messages.