@extends('layouts.main') @section('content')
| No | Nama Rombongan | Kode | Ketua | Anggota | Kapasitas | Status | Dibuat | Aksi |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} |
{{ strtoupper(substr($rombongan->name, 0, 2)) }}
{{ $rombongan->name }}@if($rombongan->description) {{ Str::limit($rombongan->description, 40) }} @endif |
{{ $rombongan->code }} |
@if($rombongan->ketua->photo)
{{ strtoupper(substr($rombongan->ketua->name, 0, 2)) }}
@endif
{{ $rombongan->ketua->name }}
{{ $rombongan->ketua->email }}
|
{{ $rombongan->active_members_count }} orang |
@php
$percentage = ($rombongan->active_members_count / $rombongan->max_members) * 100;
@endphp
|
@if($rombongan->status === 'active') Aktif @else Tidak Aktif @endif |
{{ $rombongan->created_at->format('d/m/Y') }}
{{ $rombongan->created_at->format('H:i') }} |
|
|
Belum ada rombongan yang dibuat Tambah Rombongan Pertama |
||||||||