{{ $isArabic ? 'الطالب' : 'Student' }}
{{ $studentLabel }}
@extends('layouts.main_dashboard.app') @php $isArabic = app()->getLocale() === 'ar'; $isAnswered = filled($inquiry->teacher_reply); $studentLabel = $inquiry->student?->name ?? trim(($inquiry->student?->first_name ?? '') . ' ' . ($inquiry->student?->last_name ?? '')) ?: '—'; @endphp @section('title', __('dashboard.View Inquiry') . ' | ' . $inquiry->title) @section('page_heading', $isArabic ? 'تفاصيل الاستفسار' : 'Inquiry Details') @section('page_subtitle', $isArabic ? 'راجع الرسالة الأصلية وأرسل ردك من نفس الشاشة.' : 'Review the original message and send your reply from the same screen.') @section('skip_page_hero', true) @section('content')
{{ $isArabic ? 'استفسارات الطلاب' : 'Student Inquiries' }}
{{ $isArabic ? 'عرض كامل لرسالة الطالب مع المرفقات والسياق الدراسي، ثم مساحة مباشرة لكتابة الرد.' : 'A complete view of the student message with attachments and course context, followed by a direct reply workspace.' }}
{{ $isArabic ? 'الطالب' : 'Student' }}
{{ $studentLabel }}
{{ $isArabic ? 'المقرر' : 'Course' }}
{{ $inquiry->course?->name ?? '—' }}
{{ $isArabic ? 'الحالة' : 'Status' }}
{{ $isAnswered ? __('dashboard.Replied') : ($isArabic ? 'بانتظار الرد' : 'Awaiting reply') }}
{{ $isArabic ? 'تاريخ الإرسال' : 'Sent at' }}
{{ $inquiry->created_at?->format('Y-m-d') ?? '—' }}
{{ $isArabic ? 'رسالة الطالب' : 'Student message' }}
{{ $isArabic ? 'الرد المرسل' : 'Sent reply' }}
{{ $isArabic ? 'الرد الآن' : 'Reply now' }}