@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
Update the details and targeting of your announcement.