@extends('layouts.app') @section('content') @php $hasFilters = ($filters['name'] ?? '') !== '' || ($filters['code'] ?? '') !== '' || ($filters['city'] ?? '') !== ''; @endphp
| {{ __('app.admin.schools.table.id') }} | {{ __('app.admin.schools.table.name') }} | {{ __('app.admin.schools.table.code') }} | {{ __('app.admin.schools.table.city') }} | {{ __('app.admin.schools.table.country') }} | {{ __('app.admin.schools.table.students') }} | {{ __('app.admin.schools.table.active') }} | {{ __('app.admin.schools.actions.actions') }} |
|---|---|---|---|---|---|---|---|
| #{{ $s->id }} | {{ $s->name }} | {{ $s->code ?? '—' }} | {{ $s->city ?? '—' }} | {{ $s->country ?? '—' }} | {{ $s->students_count ?? 0 }} | @if($s->is_active) {{ __('app.common.yes') }} @else {{ __('app.common.no') }} @endif | {{ __('app.admin.schools.actions.show_students') }} |
| {{ __('app.admin.schools.empty') }} | |||||||