@extends('admin.layouts.app')
@section('title')
Notices | {{ $site_info->name }}
@endsection
@section('content')
| SL |
TITLE |
CATEGORY |
DETAILS TYPE |
DEADLINE |
ACTION |
@php $i = 1 @endphp
@forelse($notices as $item)
| {{ $i++ }} |
{{ $item->title }} |
{{ $item->notice_type }}
|
@if($item->details_type === 'pdf')
PDF
@elseif($item->details_type === 'image')
Image
@else
Text
@endif
|
@if($item->deadline)
{{ \Carbon\Carbon::parse($item->deadline)->format('d M Y') }}
@else
—
@endif
|
|
@empty
|
No notices found. Add one.
|
@endforelse
@stop