@extends('layouts.app') @section('content')
@include('layouts.leftside-menubar')
@if (Auth::user()->role == 'admin')
@include('components.pages-bar', ['pageTitle' => 'Dashboard']) section photo

@lang('School Management')

{{-- --}} student photo
@lang('Students')

{{ $totalStudents-13 }}

{{-- --}} teacher photo
@lang('Teachers')

{{ $totalTeachers }}

{{-- --}} class photo
@lang('Classes')

{{ $totalClasses }}

section photo
@lang('Sections')

{{ $totalSections }}

@endif
Notices @lang('Notices')
@if (Auth::user()->role == 'admin') @lang('Add New') @endif
@if (count($notices) > 0) @else
@lang('No New Notice')
@endif
{{--
@lang('Active Exams')
@if (count($exams) > 0) @foreach ($exams as $exam) @endforeach
@lang('Exam Name') @lang('Notice Published') @lang('Result Published')
{{$exam->exam_name}} {{($exam->notice_published === 1)?__('Yes'):__('No')}} {{($exam->result_published === 1)?__('Yes'):__('No')}}
@else @lang('No Active Examination') @endif
--}}
Events @lang('Events')
@if (Auth::user()->role == 'admin') @lang('Add New') @endif
@if (count($events) > 0) @else
@lang('No New Event')
@endif
Routines @lang('Routines')
@if (Auth::user()->role == 'admin') @lang('Add New') @endif
@if (count($routines) > 0) @else
@lang('No New Routine')
@endif
Syllabus @lang('Syllabus')
@if (Auth::user()->role == 'admin') @lang('Add New') @endif
@if (count($syllabuses) > 0) @else
@lang('No New Syllabus')
@endif
@endsection @section('after_scripts') @endsection