Manage Schools {{-- Alert placeholder for AJAX --}}
All Schools
Add New School
{{-- Filters --}}
Clear
{{-- Bulk Actions Bar --}}
0 selected
{{-- Table --}}
@forelse($schools as $school) @empty @endforelse
Name Code Plan Users Students Status Actions
{{ $school->name }}
@if ($school->email) {{ $school->email }} @endif
{{ $school->code }} @php $planColors = [ 'free' => 'background:#e0e7ff;color:#4338ca;', 'professional' => 'background:#fef3c7;color:#b45309;', 'enterprise' => 'background:#dcfce7;color:#16a34a;', ]; @endphp {{ ucfirst($school->plan ?? 'free') }} {{ $school->users_count }} {{ $school->students_count }} @if ($school->active) Active @else Inactive @endif
No schools found. @if (request()->hasAny(['search', 'status', 'plan'])) Clear filters @else Add your first school. @endif
{{-- Pagination --}} @if ($schools->hasPages())
{{ $schools->withQueryString()->links() }}
@endif {{-- Results Count --}}
Showing {{ $schools->firstItem() ?? 0 }}–{{ $schools->lastItem() ?? 0 }} of {{ $schools->total() }} schools
{{-- Delete Confirmation Modal --}} {{-- Edit School Modal --}}