@extends('layouts.master') @section('title', 'Groups - System') @section('page-title', 'Groups') @section('styles') @endsection @section('content')
{{-- Back Button ── --}}
User Settings
{{-- Page Header ── --}} {{-- Stats Bar ── --}}
Total Groups {{ $groups->count() }}
With Description {{ $groups->filter(fn($g) => !empty($g->group_description))->count() }}
No Description {{ $groups->filter(fn($g) => empty($g->group_description))->count() }}
{{-- Success Alert ── --}} @if(session('success'))
{{ session('success') }}
@endif {{-- Table Card ── --}}
System Groups
{{ $groups->count() }} records
@if($groups->count() > 0)
@foreach($groups as $group) @endforeach
# Group Name Description Actions
{{ $loop->iteration }}
{{ $group->group_name }}
{{ $group->group_description ?: '—' }}
@csrf @method('DELETE')
@else
No groups found

Start by creating your first user group.

Add Group
@endif
@endsection @push('scripts') @endpush