@extends('layouts.master') @section('title','Notification') @section('action','Lists') @section('main-content')
@include('admin.section.flash_message') @include('admin.notification.common.breadcrumb')
@can('show_notification') @endcan @canany(['send_notification','delete_notification','edit_notification']) @endcanany @forelse($notifications as $key => $value) @can('show_notification') @endcan @canany(['send_notification','delete_notification','edit_notification']) @endcanany @empty @endforelse
# Title Published Date TypeDescriptionStatusAction
{{(($notifications->currentPage()- 1 ) * (\App\Models\Notification::RECORDS_PER_PAGE) + (++$key))}} {{removeSpecialChars($value->title)}} {{ convertDateTimeFormat($value->notification_publish_date) ?? 'Not published yet'}} {{ ucfirst($value->type)}}
    @can('edit_notification') @if($value->type == 'general')
  • @endif @endcan @can('delete_notification')
  • @endcan {{-- @can('send_notification')--}} {{-- @if($value->type == 'general')--}} {{--
  • --}} {{-- --}} {{-- --}} {{-- --}} {{--
  • --}} {{-- @endif--}} {{-- @endcan--}}

No records found!

{{$notifications->appends($_GET)->links()}}
@include('admin.notification.show') @endsection @section('scripts') @include('admin.notification.common.scripts') @endsection