@extends('layouts.master')
@section('title')
{{ __('dashboard') }}
@endsection
@section('content')
{{-- School Dashboard --}}
@if (Auth::user()->hasRole('School Admin') || Auth::user()->hasRole('Teacher') || Auth::user()->school_id)
{{ __('leaves') }}
{!! Form::select('leave_filter', ['Today' => __('today'), 'Tomorrow' => __('tomorrow'), 'Upcoming' => __('upcoming')], 'today', ['class' => 'form-control form-control-sm filter_leaves']) !!}
{{ __('student_gender') }}
@if (($boys and $girls and $total_students) == 0 || ($boys == null && $girls == null && $total_students == null))
{{ __('no_student_found') }}.
@else
@endif
{{-- Expense Graph --}}
@if (Auth::user()->can('expense-create'))
@endif
{{-- Teacher's Today Schedule #Timetable --}}
@if (Auth::user()->hasRole('Teacher'))
{{ __('today_schedule') }}
@endif
{{-- Class section wise attendance --}}
{{ __('attendance') }}
@if ($class_names->isEmpty())
{!! Form::select('class_id', ['' => __('no_data_found')], null, ['class' => 'form-control form-control-sm class-section-attendance']) !!}
@else
{!! Form::select('class_id', $class_names, null, ['class' => 'form-control form-control-sm class-section-attendance']) !!}
@endif
{{ __('exam_result') }}
{{ __('announcement') }}
{{--
| {{ __('no.') }} |
{{ __('title') }} |
{{ __('description') }} |
@if (count($announcement))
@foreach ($announcement as $key => $row)
| {{ $key + 1 }} |
{{ $row->title }} |
{{ $row->description }} |
@endforeach
@else
|
{{ __('no_announcement_found') }}
|
@endif
--}}
|
{{ __('id') }} |
{{ __('no.') }} |
{{ __('title') }} |
{{ __('description') }} |
@endif
@endsection
@section('script')
@if ($boys || $girls)
@endif
@endsection