@if($selectedConversation)
@php
$activeListing = $selectedConversation->listing;
$activePartner = (int) $selectedConversation->buyer_id === (int) auth()->id()
? $selectedConversation->seller
: $selectedConversation->buyer;
$activePriceLabel = $activeListing && !is_null($activeListing->price)
? number_format((float) $activeListing->price, 0).' '.($activeListing->currency ?? 'TL')
: null;
@endphp
{{ strtoupper(substr((string) ($activePartner?->name ?? 'K'), 0, 1)) }}
{{ $activePartner?->name ?? 'Kullanıcı' }}
{{ $activeListing?->title ?? 'İlan silinmiş' }}
@if($activePriceLabel)
{{ $activePriceLabel }}
@endif
Mesajlaşma için bir sohbet seç.
İlan detayından veya favori ilan satırındaki "Mesaj Gönder" butonundan yeni sohbet başlatabilirsin.