@extends('school.layouts.app') @section('content')
Back to Notice Board
{{ $notice->category }}

Target Audience

{{ $notice->target_audience }}

Targeted Groups

@if($targets->isEmpty()) All Classes & Sections @else @foreach($targets as $className => $group) {{ $className ?: 'General' }} ({{ $group->pluck('section_name')->filter()->implode(', ') ?: 'All Sections' }}) @if(!$loop->last), @endif @endforeach @endif

@if($notice->is_pinned) Pinned @endif
{{ $notice->content }}
@if($notice->attachment)

Attachment Available

Click the button to view/download the file

Download File
@endif
@endsection