@extends('layouts.app') @section('title', 'ATC Roster '.$area->name) @section('header') @vite(['resources/sass/bootstrap-table.scss', 'resources/js/bootstrap-table.js']) @endsection @section('content')
Active controllers
@foreach($ratings as $r) @endforeach @foreach($users as $u) @foreach($ratings as $r) @php $found = false; @endphp @foreach($u->endorsements->where('type', 'MASC')->where('expired', false)->where('revoked', false) as $e) @if($e->ratings->first()->id == $r->id) @php $found = true; @endphp @break @endif @endforeach @if(!$found) @endif @endforeach @endforeach
Member Rating ATC Active{{ $r->name }}
@can('view', $u) {{ $u->name }} ({{ $u->id }}) @else {{ $u->name }} ({{ $u->id }}) @endcan {{ $u->rating_short }} {{ $u->rating_long }} @if($u->isAtcActive()) Yes @elseif($u->isVisiting()) Visiting Visiting @else Inactive @endif Approved
@endsection