@extends('school.layouts.app') @section('content') @php // Extract pre-selected IDs for Edit Mode $selectedClassIds = $targets->pluck('class_id')->filter()->unique()->values()->toArray(); $selectedSectionIds = $targets->pluck('section_id')->filter()->unique()->values()->toArray(); @endphp

Edit Notice

Update the details and targeting of your announcement.

Back to Board
@csrf @method('PUT')
@if($notice->attachment)
Current file: View/Download
@endif
@php $selectedAudience = explode(',', $notice->target_audience); @endphp
Select Classes...
Select Sections...
Show as Pop-up/Banner
Pin to Top
@endsection