@php $a = $announcement ?? null; $action = $a ? route('admin.announcements.update', $a->id) : route('admin.announcements.store'); @endphp