{{-- Left: Notices list --}}
Notices
@forelse($notices as $notice) @empty @endforelse
Date Description File Action
{{ \Carbon\Carbon::parse($notice->published_at ?? $notice->created_at)->format('d M Y') }} {!! \Illuminate\Support\Str::limit(strip_tags($notice->description), 90) !!} @if($notice->attachment) View @else No file @endif View Details
No notices available
{!! $notices->links() !!}
{{-- Right: Selected notice detail --}} {{--
@if(isset($selectedNotice) && $selectedNotice) @include('admin.notices.partials.detail', ['notice' => $selectedNotice]) @else
Select a notice to view details
@endif
--}}