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

Dashboard

@include('partials.message')

Notice Board

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

{{ $noticeboard->title }}

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

@if($noticeboard->type == 'class') {{ $noticeboard->standardLink->StandardSection }} @else {{ ucwords($noticeboard->type) }} @endif

{!! $noticeboard->description !!}

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

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

No Notice Found

@endif
@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)) }}
No Records found
@endif
{{-- --}}
@if(count($dashboard['feedbacks']) != 0) @foreach($dashboard['feedbacks'] as $feedback) @endforeach @else @endif
From Category Message Sent On Actions
{{ ucfirst($feedback->parent->FullName) }} {{ ucwords(str_replace('_', ' ', (str_replace('/', ' / ',$feedback->latestMessage->category)))) }}

{!! str_limit($feedback->feedbackMessage->first()->message,50,'...') !!} @if( $feedback->latestMessage->is_seen == '0' ) New @endif

{{ date('d-m-Y H:i:s',strtotime($feedback->created_at)) }}
No Records found
@if(count($dashboard['events']) != 0) @foreach($dashboard['events'] as $events) @endforeach @else @endif
Title Description Category Location Date Organised By Action
{{ ucfirst($events->title) }} {{ ucfirst($events->description) }} {{ ucfirst($events->category) }} {{ ucfirst($events->location) }} {{ date('d-m-Y H:i:s',strtotime($events->start_date)) }} - {{ date('d-m-Y H:i:s',strtotime($events->end_date)) }} {{$events->organised_by}} Waiting for Approve
No Records found
{{--

Expire Documents

@if(count($dashboard['expire_document']) > 0) @foreach($dashboard['expire_document'] as $key => $document) @endforeach @else @endif
Type Start date Valid upto Vehicle
{{ ucfirst($document->document_type) }} {{ $document->start_date }} {{ $document->end_date }} {{ $document->vehicle->name }}
No Records found
--}}
{{--

Unpaid Fees List

--}} @if(config('ginventory.enabled', false))

Stock Details

@if(count($dashboard['products']) > 0) @foreach($dashboard['products'] as $product) @endforeach @else @endif
Product Name Quantity
{{ $product->name }} {{ $product->quantity}}
No Records found
@endif
@endsection @push('scripts') @endpush