@extends('admin.layouts.dashbord_app') @section('styles') @endsection @section('content') @if(session('alert')) @endif
{{ csrf_field() }}
@error('title')
{{ $message }}
@enderror
@error('content')
{{ $message }}
@enderror

Sent Notification

T = Target S = Sent D = Delivered R = Read
{{-- ✅ Search bar --}}
@forelse ($get_notifications as $row) @if($row->attachment) @else @endif @empty @endforelse
# Title Content Attachment Date/Time Android
(T / S / D / R)
iOS
(T / S / D / R)
Total
(T, S, D, R, D%, R%)
Action
{{ $loop->iteration + ($get_notifications->currentPage() - 1) * $get_notifications->perPage() }} {{ $row->title }} {{ \Illuminate\Support\Str::limit($row->content, 30) }} @if(strlen($row->content) > 30) 👁 @endif View FileNo attachment{{ \Carbon\Carbon::parse($row->date1)->format('d-m-Y') }} {{ $row->time1 }} {{ $row->android_target }} {{ $row->android_sent }} {{ $row->android_delivered }} {{ $row->android_read }} {{ $row->ios_target }} {{ $row->ios_sent }} {{ $row->ios_delivered }} {{ $row->ios_read }}
{{ $row->total_target }} {{ $row->total_sent }} {{ $row->total_delivered }} {{ $row->total_read }}
D: {{ $row->delivered_pct }}%  |  R: {{ $row->read_pct }}%
No notifications sent yet.
Showing {{ $get_notifications->firstItem() ?? 0 }} to {{ $get_notifications->lastItem() ?? 0 }} of {{ $get_notifications->total() }} entries
{{ $get_notifications->links() }}
{{-- ✅ Pagination links --}}
{{ $get_notifications->links() }}

Scheduled Notification

@php $i = 1; @endphp @foreach ($schd_notifications as $row) @if($row->attachment) @else @endif @php $i++; @endphp @endforeach
# Title Content Attachment Scheduled at Action
{{ $i }} {{ $row->title }} {{ $row->content }}View FileNo attachment{{ \Carbon\Carbon::parse($row->date1)->format('d-m-Y') }} {{ $row->time1 }}
{{-- ══════════ CONTENT MODAL ══════════ --}} @endsection @section('scripts') @endsection