{{ $isArabic ? 'الاستفسارات الحالية' : 'Current inquiries' }}
{{ number_format($inquiries->total()) }}
@extends('layouts.main_dashboard.app') @php $isArabic = app()->getLocale() === 'ar'; $inquiryItems = $inquiries->getCollection(); @endphp @section('title', $isArabic ? 'استفسارات الطلاب' : 'Student Inquiries') @section('page_heading', $isArabic ? 'استفسارات الطلاب' : 'Student Inquiries') @section('page_subtitle', $isArabic ? 'كل الاستفسارات التي ما زالت بانتظار ردك مجمعة في شاشة واحدة.' : 'All inquiries still waiting for your response, gathered in one workspace.') @section('skip_page_hero', true) @section('content')
{{ $isArabic ? 'مساحة المتابعة' : 'Follow-up workspace' }}
{{ $isArabic ? 'هذه الصفحة تجمع كل رسائل الطلاب المفتوحة داخل مقرراتك، حتى تراجعها وترد عليها من مكان واحد دون التنقل بين المواد.' : 'This page gathers all open student messages across your courses, so you can review and reply from one place without hopping between subjects.' }}
{{ $isArabic ? 'الاستفسارات الحالية' : 'Current inquiries' }}
{{ number_format($inquiries->total()) }}
{{ $isArabic ? 'المقررات المتأثرة' : 'Affected courses' }}
{{ number_format($courseCount) }}
{{ $isArabic ? 'آخر استفسار' : 'Latest inquiry' }}
{{ $latestInquiry?->created_at?->format('Y-m-d') ?? '—' }}
{{ $isArabic ? 'قائمة موحدة' : 'Unified list' }}
{{ $isArabic ? 'اختر أي استفسار لفتح التفاصيل وإرسال الرد مباشرة.' : 'Open any inquiry to review the details and send your reply directly.' }}
{{ $isArabic ? 'أي استفسار جديد من الطلاب سيظهر هنا تلقائيًا.' : 'Any new student inquiry will appear here automatically.' }}
{{ \Illuminate\Support\Str::limit($inquiry->message, 220) }}