@extends('layouts.main_dashboard.app') @php $routePrefix = auth()->user()?->usesStaffPortal() ? 'teacher' : 'admin'; $isTeacherPortal = auth()->user()?->usesStaffPortal(); $isArabic = app()->getLocale() === 'ar'; @endphp @section('title', $isTeacherPortal ? ($isArabic ? 'إنشاء إشعار' : 'Create Notification') @section('page_heading', $isTeacherPortal ? ($isArabic ? 'إنشاء إشعار' : 'Create Notification') : __('dashboard.Add New Notification')) @section('page_subtitle', $isArabic ? 'حدّد النطاق الأكاديمي، اختر الطلاب، ثم حرّر عنوان الرسالة ومحتواها من واجهة أوضح.' : 'Set the academic scope, choose the students, then write the notification title and body from a clearer workspace.') @section('skip_page_hero', true) @section('content')

{{ $isTeacherPortal ? ($isArabic ? 'إدارة الإشعارات' : 'Notification Management') : __('dashboard.Notifications') }}

{{ $isArabic ? 'بناء الرسالة قبل الإرسال' : 'Build the message before sending' }}

{{ $isArabic ? 'قسّم العمل إلى ثلاث خطوات: اختر النطاق، حدّد المستلمين، ثم اكتب الرسالة النهائية.' : 'Split the task into three steps: select the scope, choose recipients, then write the final message.' }}

{{ $isTeacherPortal ? ($isArabic ? 'إدارة الإشعارات' : 'Notification Management') : __('dashboard.View All Notifications') }}
@csrf

{{ $isArabic ? 'الخطوة 1' : 'Step 1' }}

{{ $isArabic ? 'تحديد النطاق الأكاديمي' : 'Select the academic scope' }}

{{ $isArabic ? 'الخطوة 2' : 'Step 2' }}

{{ __('dashboard.Users') }}

@error('users')

{{ $message }}

@enderror

{{ $isArabic ? 'الخطوة 3' : 'Step 3' }}

{{ $isArabic ? 'صياغة الرسالة' : 'Write the message' }}

@endsection @section('scripts') @endsection