@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') }}
{{-- 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') }}
{!! Form::select('class_id', $class_names, null, ['class' => 'form-control form-control-sm class-section-attendance']) !!}
{{ __('exam_result') }}
{{ __('announcement') }}
{{ __('no.') }} |
{{ __('title') }} |
{{ __('description') }} |
@if (!empty($announcement))
@foreach ($announcement as $key => $row)
{{ $key + 1 }} |
{{ $row->title }} |
{{ $row->description }} |
@endforeach
@endif
@endif
@endsection
@section('script')
@if ($boys || $girls)
@endif
@endsection