@extends('admin.sidebar') @section('content')
Username | Cabor | @endifRole | ||||
---|---|---|---|---|---|---|
{{ $item->username }} | {{ $item->email }} | @if ($request->role != 'operator')@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 | @endif @if ($item->role == 1)Operator | @elseif ($item->role == 2)Pelatih | @elseif($item->role == 3)Atlet | @elseif($item->role == 4)Atlet | @endif