@extends('admin.layouts.app') @section('content')
{{-- navbar - top --}} @include('admin.layouts.topbar')
{{-- navbar - side --}} @include('admin.layouts.nav')

{{ __('Notifications') }}

@if(Request::exists('search')) @else @endif
@forelse ($notifications as $notification) @empty @endforelse
{{ __('Title') }} {{ __('Message') }} {{ __('Image') }} {{ __('Target Users') }} {{ __('Sent') }} {{ __('Failed') }} {{ __('Created On') }} {{ __('Actions') }}
{{ $notification->title }} {{ $notification->message }} @if ($notification->image != null) @else {{ __("N/A") }} @endif {{ $notification->total_users }} {{ $notification->total_sent }} {{ $notification->total_failed }} {{ \Carbon\Carbon::parse($notification->created_at)->format('jS F Y') }}
{{ __('Looks like there\'s a VOID!') }}
{{ $notifications->withQueryString()->render("pagination::bootstrap-5") }}
@endsection @extends('admin.layouts.footer')