@extends('layouts.app') @section('title', _lang('Push Notification')) @section('content')

{{ _lang('Push Notification') }}

{{ _lang('Send a custom FCM push to every user, one organization, or one specific user.') }}

@include('partials.alerts')
{{ _lang('Compose') }}
@csrf
{{ _lang('Sent History') }}
@forelse ($sent as $n) @empty @endforelse
{{ _lang('Message') }} {{ _lang('Target') }} {{ _lang('Sent') }}
{{ $n->title_bn }} {{ $n->body_bn }} @if ($n->user) {{ _lang('User') }}: {{ $n->user->name }} @elseif ($n->organization) {{ _lang('Organization') }}: {{ $n->organization->name }} @else {{ _lang('All users') }} @endif {{ $n->sent_at?->format('d M Y, h:i A') }}
{{ _lang('No custom push sent yet.') }}
@if ($sent->hasPages()) @endif
@endsection @push('scripts') @endpush