{{ $isArabic ? 'إجمالي الاستفسارات' : 'Total inquiries' }}
{{ $inquiries->total() }}
@extends('layouts.main_dashboard.app') @php $isArabic = app()->getLocale() === 'ar'; $items = $inquiries->getCollection(); $answeredCount = $items->filter(fn ($inquiry) => filled($inquiry->teacher_reply))->count(); @endphp @section('title', $isArabic ? 'استفسارات المدرسين' : 'Teacher Inquiries') @section('skip_page_hero', true) @section('content')
{{ $isArabic ? 'تواصل أكاديمي' : 'Academic communication' }}
{{ $isArabic ? 'أرسل استفسارك مباشرة إلى معلم المساق المرتبط بأحد أبنائك، وتابع الردود من شاشة واحدة.' : 'Send an inquiry directly to the teacher of one of your children’s courses and track all replies from one place.' }}
{{ $isArabic ? 'إجمالي الاستفسارات' : 'Total inquiries' }}
{{ $inquiries->total() }}
{{ $isArabic ? 'تم الرد' : 'Answered' }}
{{ $answeredCount }}
{{ $isArabic ? 'الأبناء المرتبطون' : 'Linked children' }}
{{ $children->count() }}
{{ $isArabic ? 'افتح أي استفسار لمراجعة الرسالة والرد المرتبط بها.' : 'Open any inquiry to review the original message and its reply.' }}
{{ $isArabic ? 'ابدأ بإرسال استفسار مرتبط بأحد مساقات أبنائك.' : 'Start by sending an inquiry about one of your children’s courses.' }}
{{ \Illuminate\Support\Str::limit($inquiry->message, 180) }}