@if (Auth::user()->role == 'admin')
@endif
@lang('Notices')
{{--
--}}
@lang('Events')
@lang('Routines')
@lang('Syllabus')
@include('components.pages-bar', ['pageTitle' => 'Dashboard'])
@lang('School Management')
{{-- --}}
@lang('Students')
{{ $totalStudents-13 }}
{{-- --}}
@lang('Teachers')
{{ $totalTeachers }}
{{-- --}}
@lang('Classes')
{{ $totalClasses }}
@lang('Sections')
{{ $totalSections }}
@lang('Financial Management')
@lang('Notices')
@if (Auth::user()->role == 'admin')
@lang('Add New')
@endif
@if (count($notices) > 0)
@foreach ($notices as $notice)
get_app
@else
{{ $notice->title }}
@lang('Published at'): {{ $notice->created_at->format('M d Y h:i:sa') }}
@endforeach
@lang('No New Notice')
@endif
@lang('Active Exams')
@if (count($exams) > 0)
@else
@lang('No Active Examination')
@endif
| @lang('Exam Name') | @lang('Notice Published') | @lang('Result Published') |
|---|---|---|
| {{$exam->exam_name}} | {{($exam->notice_published === 1)?__('Yes'):__('No')}} | {{($exam->result_published === 1)?__('Yes'):__('No')}} |
@lang('Events')
@if (Auth::user()->role == 'admin')
@lang('Add New')
@endif
@if (count($events) > 0)
@foreach ($events as $event)
get_app
@else
{{ $event->title }}
@lang('Published at'): {{ $event->created_at->format('M d Y') }}
@endforeach
@lang('No New Event')
@endif
@lang('Routines')
@if (Auth::user()->role == 'admin')
@lang('Add New')
@endif
@if (count($routines) > 0)
@foreach ($routines as $routine)
get_app
@else
{{ $routine->title }}
@lang('Published at'): {{ $routine->created_at->format('M d Y') }}
@endforeach
@lang('No New Routine')
@endif
@lang('Syllabus')
@if (Auth::user()->role == 'admin')
@lang('Add New')
@endif
@if (count($syllabuses) > 0)
@foreach ($syllabuses as $syllabus)
get_app
@else
{{ $syllabus->title }}
@lang('Published at'): {{ $syllabus->created_at->format('M d Y') }}
@endforeach
@lang('No New Syllabus')
@endif