@extends('master') @section('title') {{ $title }} @endsection @section('content')

Notice Details:

{{ $notice->heading }}

Publish Date Description Posted By Thumbnail Action
{{ \Carbon\Carbon::parse($notice->published_date)->format('d-m-Y H:i') }} {!! $notice->description ?? 'No description available' !!} {{ $notice->post_by ?? 'N/A'}} @if($notice->thumbnail) Thumbnail @else No thumbnail available @endif Manage Files
{{-- Back to Notices List --}}

Attached Files

@if ($notice->noticeFiles->isEmpty())

No files attached to this notice.

@else @foreach ($notice->noticeFiles as $file) @endforeach
ID File Title Filename Status Action
{{ $file->id }} {{ $file->file_title }} view {{ $file->file_title }} ... {{ $file->status == 1 ? 'Published' : 'Unpublished' }} {{-- Edit --}}
@csrf @method('DELETE')
@endif Back to Notices List
@endsection