@section('title') {{ $club->name }} @endsection

Club Details

Status {{ $club->status ?? 'N/A' }}
Name {{ $club->name ?? 'N/A' }}
Category {{ $club->category->name ?? 'N/A' }}
Privacy {{ $club->privacy == 1 ? 'public':'private' }}
Is Chat Group {{ $club->is_chat_room ? 'Yes' : 'No' }}
Club Post {{ $posts->count() ?? 0 }}
Joined Users {{ $clubUsers->count() }}
Created By {{ $club->user->name ?? 'N/A' }}
Created At {{ $club->created_at ? $club->created_at->format('Y-m-d H:i:s') : 'N/A' }}
Updated At {{ $club->updated_at ? $club->updated_at->format('Y-m-d H:i:s') : 'N/A' }}
Image @if($club->image) Club Image @else No Image @endif
Description {{ $club->description ?? 'N/A' }}

Club Users

@forelse ($clubUsers as $user) @empty @endforelse
Username Email Joined At
{{ $user->user->name ?? 'N/A' }} {{ $user->user->email ?? 'N/A' }} {{ $user->created_at ? $user->created_at->format('Y-m-d H:i:s') : 'N/A' }}
No users found

Total users: {{ $clubUsers->count() }}

Club Posts

@foreach ($posts as $post) @endforeach
ID Title User Total Views Total Like Total Comment Popular Point Status Created At Action
#{{ $post->id }} {{ $post->title }} {{ $post->user->name ?? 'N/A' }} {{ $post->total_view }} {{ $post->total_like }} {{ $post->total_comment }} {{ $post->popular_point }} {{ $post->status == 10 ? 'active':'blocked' }} {{ $post->created_at ? $post->created_at->format('Y-m-d H:i:s') : 'N/A' }}