@extends('layouts.master') @section('title',__('index.notifications')) @section('action',__('index.lists')) @section('main-content')
@include('admin.section.flash_message') @include('admin.notification.common.breadcrumb')
@lang('index.notification_lists')
@can('notification') @endcan @can('notification') @endcan @forelse($notifications as $key => $value) @can('notification') @endcan @can('notification') @endcan @empty @endforelse
# @lang('index.title') @lang('index.published_date') @lang('index.type')@lang('index.description')@lang('index.status')@lang('index.action')
{{(($notifications->currentPage()- 1 ) * (\App\Models\Notification::RECORDS_PER_PAGE) + (++$key))}} {{removeSpecialChars($value->title)}} {{ convertDateTimeFormat($value->notification_publish_date) ?? 'Not published yet'}} {{ ucfirst($value->type)}}
    @if($value->type == 'general')
  • @endif
  • {{-- @can('send_notification')--}} {{-- @if($value->type == 'general')--}} {{--
  • --}} {{-- --}} {{-- --}} {{-- --}} {{--
  • --}} {{-- @endif--}} {{-- @endcan--}}

@lang('index.no_records_found')

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