@extends('layouts.main') @section('css') @endsection @section('breadcrumb')
@endsection @section('content')| Nama Team | {{ $team->nama }} |
|---|---|
| Unit Kerja | @php $unitKerjas = $team->teamUnitKerjas; @endphp @if ($unitKerjas->isEmpty()) - @elseif ($unitKerjas->contains(fn($u) => $u->unit_kerja_id === null)) Semua Unit Kerja @else {{ $unitKerjas->map(fn($u) => $u->unit_kerja_id === 0 ? 'Universitas' : ($u->unitKerja->nama ?? '-'))->join(', ') }} @endif |
Berikut adalah daftar anggota dalam team ini
| NIP | Nama | Jumlah Akses | @canany(['Ubah Team Anggota', 'Hapus Team Anggota'])Aksi | @endcanany
|---|