@forelse ($data['notice-boards'] ?? [] as $key => $row)
| {{ ++$key }} |
{{ $row->title }} |
{{ date('d-m-Y', strtotime(@$row->date)) }} |
{{ date('d-m-Y H:i a', strtotime(@$row->publish_date)) }} |
{!! \Illuminate\Support\Str::limit(strip_tags(@$row->description), 40) !!} |
|
@if ($row->status == App\Enums\Status::ACTIVE)
{{ ___('common.active') }}
@else
{{ ___('common.inactive') }}
@endif
|
@empty
{{ ___('common.no_data_available') }}
{{ ___('common.please_add_new_entity_regarding_this_table') }}
|
@endforelse