@extends('layouts.main_dashboard.app') @section('title', __('dashboard.List of Years')) @section('page_heading', __('dashboard.List of Years')) @section('skip_page_hero', true) @php $yearsCount = $years->total(); $displayedYearsCount = $years->count(); $totalTermsCount = $years->sum('terms_count'); $isArabic = app()->getLocale() === 'ar'; @endphp @section('content')
{{ $isArabic ? 'إدارة السنوات الدراسية وما يرتبط بها من فصول من شاشة واحدة أوضح وأهدأ.' : 'Manage academic years and their related terms from one clearer, quieter screen.' }}
{{ __('dashboard.Years') }}
{{ $yearsCount }}
{{ $isArabic ? 'ابدأ بإضافة سنة دراسية جديدة لتجهيز الفصول والمراحل والصفوف المرتبطة بها.' : 'Start by creating a new academic year to prepare its related terms, stages, and grades.' }}
{{ $isArabic ? 'قائمة السنوات الدراسية المتاحة داخل النظام.' : 'List of academic years available in the system.' }}
{{ __('dashboard.Total') }}
{{ $yearsCount }}
{{ $isArabic ? 'المعروض' : 'Visible' }}
{{ $displayedYearsCount }}
{{ __('dashboard.Terms') }}
{{ $totalTermsCount }}
| {{ $isArabic ? 'السنة الدراسية' : 'Year' }} | {{ __('dashboard.Terms') }} | {{ $isArabic ? 'روابط سريعة' : 'Quick Links' }} | {{ __('dashboard.Actions') }} |
|---|---|---|---|
|
{{ mb_substr($year->name, 0, 1) }}
{{ $year->name }} #{{ $year->id }} |
{{ $year->terms_count }} {{ __('dashboard.Terms') }} |