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

Overview

All Schools

{{$allSchoolsCnt}}

Active

{{$activeSchoolsCnt}}

Inactive

{{$inactiveSchoolsCnt}}
{{-- --}}
{{-- --}} {{-- --}}
@if(count($schools) > 0) @foreach($schools as $school) @endforeach @else @endif
Title Status Date added Actions
{{ !empty(data_get($school, 'title')) ? data_get($school, 'title') : "-" }} {{ !empty(data_get($school, 'status')) ? (data_get($school, 'status') ? "Active": "Inactive") : "Inactive" }} {{ !empty(show_date($school->created_at)) ? show_date($school->created_at) : "-" }}
No departments to show
@if(count($activeschools) > 0) @foreach($activeschools as $school) @endforeach @else @endif
Title Status Date added Actions
{{ !empty(data_get($school, 'title')) ? data_get($school, 'title') : "-" }} {{ !empty(data_get($school, 'status')) ? (data_get($school, 'status') ? "Active": "Inactive") : "Inactive" }} {{ !empty(show_date($school->created_at)) ? show_date($school->created_at) : "-" }}
No departments to show
@if(count($inactiveschools) > 0) @foreach($inactiveschools as $school) @endforeach @else @endif
Title Status Date added Actions
{{ !empty(data_get($school, 'title')) ? data_get($school, 'title') : "-" }} {{ !empty(data_get($school, 'status')) ? (data_get($school, 'status') ? "Active": "Inactive") : "Inactive" }} {{ !empty(show_date($school->created_at)) ? show_date($school->created_at) : "-" }}
No departments to show
close
Close

Add New Department

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

Edit Department

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