@if(count($comments = $order->comments()->orderBy('id', 'DESC')->paginate()) > 0)

Conversations

Sorted based on most recent comment

@foreach($comments as $comment)

@if(auth()->user()->hasRole('admin')) {{ $comment->user->full_name }} @else {{ $comment->user->full_name }} @endif

@if($order->customer_id == $comment->user_id) Client @elseif($order->staff_id == $comment->user_id) Team Member @else Admin @endif


@endforeach {{ $comments->links() }} @endif