@extends('layouts.teacher') {{ config('app.name', 'Laravel') }} | Teacher | Dashboard @section('main-content')
@if(Session::has('success')) @endif @if ($errors->any())
@endif
{{--
chart success

{{ $batchStudentCounts }}

Total Batch Students
--}}
Notifcations

( From Higher Authorities )

    @if(!empty($notifications) && count($notifications) > 0) @foreach($notifications as $detail)
  • {{$detail->subject}}

    ( {{dateformatter($detail->created_at)}} )

    {{$detail->message}}

  • @endforeach @if (count($notifications)>4) View More... @endif @else @endif
Events

( Created By You )

    @if(!empty($events) && count($events) > 0) @foreach($events as $detail)
  • {{$detail->title}} ( {{$detail->time}} )

    {{dateformatter($detail->date)}}

    {{substr($detail->description,0,125)}} @if (strlen($detail->description)>125) ... @endif

  • @endforeach @if (count($events)>3) View More... @endif @else @endif
Upcoming Holidays

( From Higher Authorities )

    @if (isset($holidays) && count($holidays)>0) @foreach($holidays as $val)
  • @if ($val->start_date==$val->end_date) {{$start_date}} @else {{$start_date}} to {{$end_date}} @endif

    {{$val->name}}

    {{$val->description}}

  • @endforeach @if (count($holidays)>=5) View More... @endif @else @endif
@endsection