@foreach($support_tickets as $support_ticket) {{$loop->iteration}} @if($support_ticket && $support_ticket->user_support && $support_ticket->user_support->role) {{$support_ticket->user_support->role->name}} @else / @endif @if($support_ticket->user_support && $support_ticket->user_support->name) {{$support_ticket->user_support->name}} @else @endif {{$support_ticket->category_support->title}} {{-- {{$support_ticket->subject}} --}} {!!\Illuminate\Support\Str::words(strip_tags($support_ticket->subject), 10)!!} {{-- {{$support_ticket->open}} --}} {{$support_ticket->ticket_number}} View & Reply @if($support_ticket->open == 1) Close Ticket @endif @endforeach