@extends('layouts.master') @section('title', 'Schools') @section('pagetitle', 'List of Schools') @section('content')

Schools

All Schools

{{ $allSchoolsCnt }}

Active

{{ $activeSchoolsCnt }}

Inactive

{{ $inactiveSchoolsCnt }}
{{-- --}} {{-- --}}
@if(count($schools) > 0) @foreach($schools as $school) @endforeach @else @endif
Name Contact email Admin name Admin email Date added Actions
{{ !empty(data_get($school, 'name')) ? data_get($school, 'name') : "-" }} {{ !empty(data_get($school, 'contact_email')) ? data_get($school, 'contact_email') : "-" }} {{ !empty(data_get($school, 'admin_name')) ? data_get($school, 'admin_name') : "-" }} {{ !empty(data_get($school, 'admin_email')) ? data_get($school, 'admin_email') : "-" }} {{ !empty(show_date($school->created_at)) ? show_date($school->created_at) : "-" }}
No schools to show
@if(count($activeschools) > 0) @foreach($activeschools as $school) @endforeach @else @endif
Name Contact email Admin name Admin email Date added Actions
{{ !empty(data_get($school, 'name')) ? data_get($school, 'name') : "-" }} {{ !empty(data_get($school, 'contact_email')) ? data_get($school, 'contact_email') : "-" }} {{ !empty(data_get($school, 'admin_name')) ? data_get($school, 'admin_name') : "-" }} {{ !empty(data_get($school, 'admin_email')) ? data_get($school, 'admin_email') : "-" }} {{ !empty(show_date($school->created_at)) ? show_date($school->created_at) : "-" }}
No schools to show
@if(count($inactiveschools) > 0) @foreach($inactiveschools as $school) @endforeach @else @endif
Name Contact email Admin name Admin email Date added Actions
{{ !empty(data_get($school, 'name')) ? data_get($school, 'name') : "-" }} {{ !empty(data_get($school, 'contact_email')) ? data_get($school, 'contact_email') : "-" }} {{ !empty(data_get($school, 'admin_name')) ? data_get($school, 'admin_name') : "-" }} {{ !empty(data_get($school, 'admin_email')) ? data_get($school, 'admin_email') : "-" }} {{ !empty(show_date($school->created_at)) ? show_date($school->created_at) : "-" }}
No schools to show
close
Close

Add New School

@include('layouts.partials.messages')
@csrf
close
Close

Edit School

@include('layouts.partials.messages')
@csrf
@endsection