@extends('layouts.admin') @section('title', 'Customer Notifications') @section('content')
Customer Notifications
{{ $activeDeviceCount }} active app device(s)
Send Notification
@forelse($items as $item) @empty @endforelse
Message Status Devices Sent By Sent At
@if($item->imageUrl()) @endif
{{ $item->title }}
{{ $item->body }}
@if($item->error)
{{ $item->error }}
@endif
{{ ucfirst($item->status) }} {{ $item->success_count }} sent / {{ $item->failure_count }} failed / {{ $item->target_count }} targeted {{ $item->sender?->name ?? '-' }} {{ optional($item->sent_at)->format('d M Y, h:i A') ?? '-' }}
No notifications sent yet.
{{ $items->links() }}
@endsection