@extends('layouts.app') @section('content')

الإشعارات الجماعية (Push Notifications)

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
صياغة الإشعار
@csrf
يمكنك تحديد تاريخ ووقت لإرسال الإشعار لاحقاً بشكل آلي.
المعاينة الحية (Live Preview)
شاشة هاتف المستخدم
توريستا الآن
عنوان الإشعار
محتوى الإشعار سيظهر هنا...

الإشعارات المجدولة القادمة

@php function topicName($topic) { return match($topic) { 'general' => 'جميع المستخدمين', 'customers' => 'زبائن', 'hosts' => 'أصحاب العقارات', default => ''.$topic.'', }; } @endphp @if(isset($scheduledNotifications) && $scheduledNotifications->count() > 0) @foreach($scheduledNotifications as $notification) @endforeach
العنوان المحتوى الفئة وقت الإرسال المجدول الإجراءات
{{ $notification->title }} {!! nl2br(e($notification->body)) !!} {!! topicName($notification->topic) !!} {{ \Carbon\Carbon::parse($notification->scheduled_at)->format('Y-m-d H:i') }}
@csrf @method('DELETE')
@else
لا توجد أي إشعارات مجدولة حالياً.
@endif
@endsection