T = Target
S = Sent
D = Delivered
R = Read
{{-- ✅ Search bar --}}
| # |
Title |
Content |
Attachment |
Date/Time |
Android
(T / S / D / R)
|
iOS
(T / S / D / R)
|
Total
(T, S, D, R, D%, R%)
|
Action |
@forelse ($get_notifications as $row)
| {{ $loop->iteration + ($get_notifications->currentPage() - 1) * $get_notifications->perPage() }} |
{{ $row->title }} |
{{ \Illuminate\Support\Str::limit($row->content, 30) }}
@if(strlen($row->content) > 30)
👁
@endif
|
@if($row->attachment)
View File |
@else
No attachment |
@endif
{{ \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 }}%
|
|
@empty
| No notifications sent yet. |
@endforelse
Showing {{ $get_notifications->firstItem() ?? 0 }} to {{ $get_notifications->lastItem() ?? 0 }} of {{ $get_notifications->total() }} entries
{{ $get_notifications->links() }}
{{-- ✅ Pagination links --}}
{{ $get_notifications->links() }}