@extends('layouts.teacher.layout') @section('content')

Dashboard

Notice Board

@if(count($dashboard['noticeboard']) > 0) @foreach($dashboard['noticeboard'] as $noticeboard)

{{ $noticeboard->title }}

{{ date('d M Y',strtotime($noticeboard->publish_date)) }}

{{ ucwords($noticeboard->type) }}

{!! $noticeboard->description !!}

{{ $noticeboard->created_at->diffForHumans() }}

@if($noticeboard->attachment_file != '') @endif
@endforeach @else

No Notice Found

@endif

Subjects

@foreach($dashboard['subject'] as $subject)

{{ $subject['subject'] }}

{{ $subject['class'] }}

@endforeach

Activity Log

@foreach($dashboard['activitylog'] as $activitylog)

{{ $activitylog->created_at->diffForHumans() }}

{{ $activitylog->description }}

@endforeach
@if(config('gexam.enabled', false))

Upcoming Exams

@if(count($dashboard['upcomingExam']) > 0) @foreach($dashboard['upcomingExam'] as $key => $upcomingExams) @foreach($upcomingExams as $upcomingExam) @endforeach @endforeach @else @endif
Exam Name Subject Class Time

{{ date('d-m-Y H:i:s',strtotime($key)) }}

{{ $upcomingExam->exam->name }} {{ $upcomingExam->subject->name }} {{ $upcomingExam->standardLink->StandardSection }} {{ date('H:i A',strtotime($upcomingExam->start_time)) }} - {{ date('H:i A',strtotime($upcomingExam->duration)) }}

No Records Found

@endif
@if(config('gtimetable.enabled', false))

TimeTable

{{-- @if(config('gquiz.enabled', false)) --}} {{-- @foreach($dashboard['timetable'] as $standard => $timetable)

{{ $timetable }}

{{ $standard }}

09 AM - 9.45 AM, B01

@endforeach --}}
@endif
@endsection