@extends('student.layouts.app') @section('content')

Notice Board

All official school announcements.

Dashboard
@if ($errors->has('from_date'))
{{ $errors->first('from_date') }}
@endif
@forelse($notices as $notice)
{{ $notice->category }} @if(empty($notice->is_read)) New @endif @if($notice->is_pinned) Pinned @endif
{{ \Carbon\Carbon::parse($notice->published_at)->format('d M, Y') }}

{{ $notice->title }}

{{ $notice->content }}

Tap to read full notice @if($notice->attachment) Attachment @endif
@empty

No notices found matching your criteria.

Clear Filters
@endforelse
@if($notices->hasPages())
{{ $notices->appends(request()->query())->links() }}
@endif
@endsection