@extends('admin.admin_dashboard') @section('admin')
@if(session('success'))
{{ session('success') }}
@endif

Showing {{ $notices->firstItem() ?? 0 }} to {{ $notices->lastItem() ?? 0 }} of {{ $notices->total() }} entries

@forelse($notices as $key => $notice) @empty @endforelse
SL Title Visible To Attachment Published Date Action
{{ $notices->firstItem() + $key }} {{ $notice->title }} @if($notice->visible_to_students) Students @endif @if($notice->visible_to_teachers) Teachers @endif @if($notice->visible_to_parents) Parents @endif @if($notice->attachment) Download @else No File @endif {{ $notice->created_at->format('d M, Y') }}
@csrf @method('DELETE')
No notices available
Showing {{ $notices->firstItem() ?? 0 }} to {{ $notices->lastItem() ?? 0 }} of {{ $notices->total() }} entries
@endsection