@extends('layouts.superadmin') {{ config('app.name', 'Laravel') }} | Admin | Schools @section('main-content')
@if (Session::has('success')) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Records / School

School List
@if (count($schools) != 0) @foreach ($schools as $key => $school) @if (isset($school->user->email)) @else @endif @endforeach @else @endif
S.No School Name School Admin Email Address Date Status Actions
{{ $key + 1 }}
{{ ucwords($school->name) }} {{ ucwords($school->user->email) }}Not Assigned{{ $school->address }} {{ $school->created_at->format('d/m/Y') }} @if ($school->status == 'active') {{ ucwords($school->status) }} @else {{ ucwords($school->status) }} @endif
No school found
@endsection