@if(!empty($team)) @foreach ($team as $teams) @endforeach @endif
Name Email Last Active Role Bench Service
{{$teams->fname . " " . $teams->lname}} {{$teams->email}} {{$teams->date_of_creation}} @foreach ($user_role as $ur) @if($teams->role == $ur->id) {{$ur->role}} @endif @endforeach @if(!empty($active_bench)) @foreach ($active_bench as $active_benc) @if($active_benc->id == $teams->bench) {{$active_benc->desk_name}} @endif @endforeach @endif @if(!empty($active_serv)) @foreach ($active_serv as $active_ser) @if($active_ser->id == $teams->services) {{$active_ser->services}} @endif @endforeach @endif