@extends('admin.sidebar') @section('content')

Dashboard

Atlit
{{ $atlit }}
Pelatih
{{ $pelatih }}
Wasit
{{ $wasit }}
Operator
{{ $operator }}
Akun {{ $role }} Yang Baru Ditambahkan
@if ($request->role != 'operator' && isset($request->role))
@csrf
@endif
@if ($request->role != 'operator') @endif @foreach ($user as $item) @if ($request->role != 'operator') @endif @if ($item->role == 1) @elseif ($item->role == 2) @elseif($item->role == 3) @elseif($item->role == 4) @endif @endforeach
Username EmailCaborRole
{{ $item->username }} {{ $item->email }} @if ($request->role == 'atlit') @if (isset($item->atlit->cabor)) {{ $item->atlit->cabor }} @endif @endif @if ($request->role == 'pelatih') @if (isset($item->pelatih->cabor)) {{ $item->pelatih->cabor }} @endif @endif @if ($request->role == 'wasit') @if (isset($item->wasit->cabor)) {{ $item->wasit->cabor }} @endif @endif OperatorPelatihAtletAtlet
@endsection