{{ $student->name }}
{{ $student->registration_number ?: __('dashboard.No registration number') }}
@extends('layouts.main_dashboard.app') @section('title', __('dashboard.Students') . ' | ' . __('dashboard.View Student')) @section('content') @php($studentClass = $student->schoolClass->first())
{{ __('dashboard.Student Profile') }}
{{ $student->email }}
{{ $student->registration_number ?: __('dashboard.No registration number') }}
{{ __('dashboard.Email') }}
{{ $student->email ?: '---' }}
{{ __('dashboard.Phone') }}
{{ $student->phone ?: '---' }}
{{ __('dashboard.School Class') }}
{{ $studentClass ? $studentClass->grade->stage->name . ' / ' . $studentClass->grade->name . ' / ' . $studentClass->name : __('dashboard.No Class Assigned') }}
{{ __('dashboard.Gender') }}
{{ $student->gender ?: '---' }}
{{ __('dashboard.Date of Birth') }}
{{ $student->date_of_birth ?: '---' }}
{{ __('dashboard.Nationality') }}
{{ $student->nationality ?: '---' }}
{{ __('dashboard.National ID') }}
{{ $student->national_id ?: '---' }}
{{ __('dashboard.Religion') }}
{{ $student->religion ?: '---' }}
{{ __('dashboard.Address') }}
{{ $student->address ?: '---' }}