{{-- AKIŞ SATIRLARI — hem ilk yüklemede hem "daha fazla" ucunda kullanılır. İki satır tipi vardır: • post — personelin yazdığı gönderi (beğeni + yorum) • event — sistemin ürettiği güncelleme (satış, kalkış, görev, tahsilat…) Ray/nokta grameri quick-view'ın .flw-* katmanından gelir; panele özgü parçalar .dx- ön ekiyle dashboard.css içindedir. --}} @php $me = auth()->id(); $isOwner = auth()->user()?->isAgencyOwner(); @endphp @foreach($items as $item) @if($item['kind'] === 'post') @php $post = $item['post']; $canManage = (int) $post->user_id === (int) $me || $isOwner; @endphp
@if($item['actor']['avatar'] ?? null) @else {{ $item['actor']['initials'] ?? '?' }} @endif
{{ $item['actor']['name'] ?? 'Kullanıcı' }} @if($post->isAnnouncement()) Duyuru @endif

{{ $post->body }}

@if($canManage) @endif
comment_count == 0) hidden @endif>
@foreach($post->comments as $comment) @include('agency.dashboard.partials.feed-comment', ['comment' => $comment]) @endforeach
@else @php $link = $item['qv'] ?? null; $url = $item['url'] ?? null; @endphp @endif @endforeach