@extends('layouts.admin') @section('content')

User Profile

@php if (Session::get('is_active_tab')) { $is_active_tab=Session::get('is_active_tab'); } @endphp
@if ($student->image) avatra-img @else avatra-img @endif
Edit Image
@csrf @if ($active == '0') @else @endif
@csrf @if($student->is_logged_in) @endif
{{-- button for re-generate --}}
@csrf
{{-- End button for re-generate --}}
@include('admin.errors.form-errors')
{{-- Personal Data --}}

Personal Details

Student Information
  • Student Name: {{$student->first_name .' '. $student->middle_name . ' ' . $student->last_name}}
  • Father Name: {{$student_info->father_name}}
  • Mother Name: {{$student_info->mother_name}}
Contact Information
  • Student Phone: {{$student->phone}}
  • Father Phone: {{$student_info->father_phone}}
  • Mother Phone: {{$student_info->mother_phone}}
Email Addresses
  • Student Email: {{$student->email}}
  • Father Email: {{$student_info->father_email}}
  • Mother Email: {{$student_info->mother_email}}
Parents Occupation
  • Father Occupation: {{$student_info->father_occupation}}
  • Mother Occupation: {{$student_info->mother_occupation}}
Location & Birth Information
  • Location: {{$student->country->nicename}}
  • Date of Birth: {{$student->date_of_birth->format('Y-m-d')}}
Academic Information
  • UserID: {{$student->username}}
  • Grade: {{$student_info->grade->name}} {{-- --}}
Health Information
@if(is_null($health_information))
  • No Health Information Available.
@else
  • Food: {{$health_information->applicant_is_food == 1? $health_information->applicant_food : 'No'}}
  • Medication: {{$health_information->applicant_is_medication == 1? $health_information->applicant_medication : 'No'}}
  • Other Allergies: {{$health_information->applicant_is_other_allergies == 1? $health_information->applicant_other_allergies : 'No'}}
  • Asthma: {{$health_information->applicant_is_asthma == 1? $health_information->applicant_asthma : 'No'}}
  • Diabetes: {{$health_information->applicant_is_diabetes == 1? $health_information->applicant_diabetes : 'No'}}
  • Seizures: {{$health_information->applicant_is_seizures == 1? $health_information->applicant_seizures : 'No'}}
  • Other Chronic Conditions: {{$health_information->applicant_is_other_chronic_conditions == 1? $health_information->applicant_other_chronic_conditions : 'No'}}
@endif
Limitation Information
@if(is_null($limitation))
  • No Limitation Information Available.
@else
  • Mobility: {{$limitation->applicant_is_mobility == 1? $limitation->applicant_mobility : 'No'}}
  • Vision: {{$limitation->applicant_is_vision == 1? $limitation->applicant_vision : 'No'}}
  • Hearing: {{$limitation->applicant_is_hearing == 1? $limitation->applicant_hearing : 'No'}}
  • Developmental: {{$limitation->applicant_is_developmental == 1? $limitation->applicant_developmental : 'No'}}
  • Emotional: {{$limitation->applicant_is_emotional == 1? $limitation->applicant_emotional : 'No'}}
  • Other Limitations: {{$limitation->applicant_is_other_limitations == 1? $limitation->applicant_other_limitations : 'No'}}
  • @if (!is_null($limitation->applicant_other_health_concerns))
  • Other Health Concerns: {{$limitation->applicant_other_health_concerns}}
  • @endif
@endif
@if (is_null($student_info->applicant_passport)) No Passport Available @else Passport @endif
@if (is_null($student_info->applicant_birth_certificate)) No Birth Certificate Available @else Birth Certificate @endif
@if (is_null($student_info->applicant_picture)) No Student Picture Available @else Student Picture @endif
{{-- History Data --}}

List Of All Enrollments

@lang('student.filter by')
Reset
@php $count = 0 @endphp @foreach ($allCourses as $item) @endforeach
Id Course Name Board Name Session Name Group Enrolled At Deleted At Status
{{++$count}} {{$item->has_label ? ' ( '.$item->label.' ) ':''}} {{$item->cname.' ( '.$item->lshort_name.' )' }}
{{$item->bname}} {{$item->sname .' '. $item->year }} {{$item->gname }} {{ $item->created_at->format('d-m-Y') . ' / '}} {{date('h:i A', strtotime($item->created_at))}} @if($item->deleted_at) {{ $item->deleted_at->format('d-m-Y') . ' / '}} {{date('h:i A', strtotime($item->deleted_at))}} @else N/A @endif {{ $item->deleted_at ? 'Unenrolled' : 'Enrolled' }}

Student Grades History

@foreach ($student_grade_history as $upgrade) @endforeach
From Grade To Grade Academic Year Session Upgraded At
{{ $upgrade->fromGrade->name ?? '-' }} {{ $upgrade->toGrade->name ?? '-' }} @foreach ($upgrade->upgradeAcademicSessions as $uas)
{{ $uas->session_name ?? '-' }} - {{ $uas->year ?? '-' }}
@endforeach
{{ $upgrade->created_at->format('d-m-Y') }} / {{ $upgrade->created_at->format('h:i A') }}
{{-- Student Transcript --}}
{{-- Header --}}
Logo

{{ $student->first_name }} {{ $student->middle_name }} {{ $student->last_name }}

User ID: {{ $student->username }}

{{-- Transcript Session Filter --}}
@lang('student.filter by')
Reset
{{--End filter-- }} {{-- Export button --}}
@foreach ($student_grade_history as $upgrade) @endforeach
From Grade To Grade Academic Year Session Upgraded At
{{ $upgrade->fromGrade->name ?? '-' }} {{ $upgrade->toGrade->name ?? '-' }} @foreach ($upgrade->upgradeAcademicSessions as $uas)
{{ $uas->session_name ?? '-' }} - {{ $uas->year ?? '-' }}
@endforeach
{{ $upgrade->created_at->format('d-m-Y') }} / {{ $upgrade->created_at->format('h:i A') }}
{{-- Transcript Tables --}}
@if($transcript->isEmpty())
No transcript data available.
@else @foreach($transcript as $sessionKey => $courses) @php [$sessionName, $year] = explode('|', $sessionKey); @endphp
Session:  {{ $sessionName }} {{ $year }}
@foreach($courses as $idx => $c) @endforeach
# Course Group Teaching Team Board Status Grade Enrolled At Deleted At
{{ $idx+1 }} {{ $c->has_label ? '(' . $c->label . ')' : '' }} {{ $c->cname }} ({{ $c->lshort_name }}) {{ $c->gname }} {{ $c->ttname }} {{ $c->bname }} {{ $c->deleted_at ? 'Unenrolled':'Enrolled' }} {{ $c->grade ?? '-' }} {{ optional($c->created_at)->format('d-m-Y') }} {{ $c->deleted_at ? $c->deleted_at->format('d-m-Y') : 'N/A' }}
@endforeach @endif
{{-- Courses --}}

List Of Enrolled Courses

@lang('student.filter by')
Reset
{{-- --}} @php $count=0 @endphp @foreach ($enrolledCourses as $item) @endforeach
Id Course Name board Name Session Name Group Enrolled At Withdrawrecording date
{{++$count}} {{$item->has_label ? ' ( '.$item->label.' ) ':''}} {{$item->cname.' ( '.$item->lshort_name.' )' }}
{{-- {{$item->fees_by_lesson ? 'By Lesson':'By Course'}} {{$item->currency == 1 ? 'AED':'EGP'}} {{$item->is_teacher_based == 1 ? 'teacher base':''}} --}}
{{$item->bname}} {{$item->sname .' '. $item->year }} {{$item->gname }} {{ $item->created_at->format('d-m-Y') . ' / '}} {{date('h:i A', strtotime($item->created_at))}}
@csrf
@if($item->enrollment_status == 0)
@csrf
@elseif($item->enrollment_status == 1)
@csrf
@endif
{{-- Register student in course --}}

Enroll student in courses

@csrf
@if ($groupSchedules->count() > 0)

Sunday

@forelse ($groupSchedules->where('gsday',1) as $schedule) @empty @endforelse
course group class from to
{{ $schedule->acyname.'_'.$schedule->cname.'('.$schedule->lshort_name.')'.'_'.$schedule->ttname }} {{ $schedule->gname }} {{$schedule->classname}} {{ \carbon\carbon::parse($schedule->gsfrom)->format('h:i a') }} {{ \carbon\carbon::parse($schedule->gsto)->format('h:i a') }}
No classes

Monday

@forelse ($groupSchedules->where('gsday',2) as $schedule) @empty @endforelse
course group class from to
{{ $schedule->acyname.'_'.$schedule->cname.'('.$schedule->lshort_name.')'.'_'.$schedule->ttname }} {{ $schedule->gname }} {{$schedule->classname}} {{ \Carbon\Carbon::parse($schedule->gsfrom)->format('h:i a') }} {{ \carbon\carbon::parse($schedule->gsto)->format('h:i a') }}
No classes

Tuesday

@forelse ($groupSchedules->where('gsday',3) as $schedule) @empty @endforelse
course group class from to
{{ $schedule->acyname.'_'.$schedule->cname.'('.$schedule->lshort_name.')'.'_'.$schedule->ttname }} {{ $schedule->gname }} {{$schedule->classname}} {{ \carbon\carbon::parse($schedule->gsfrom)->format('h:i a') }} {{ \carbon\carbon::parse($schedule->gsto)->format('h:i a') }}
No classes

Wednesday

@forelse ($groupSchedules->where('gsday',4) as $schedule) @empty @endforelse
course group class from to
{{ $schedule->acyname.'_'.$schedule->cname.'('.$schedule->lshort_name.')'.'_'.$schedule->ttname }} {{ $schedule->gname }} {{$schedule->classname}} {{ \carbon\carbon::parse($schedule->gsfrom)->format('h:i a') }} {{ \carbon\carbon::parse($schedule->gsto)->format('h:i a') }}
No classes

Thursday

@forelse ($groupSchedules->where('gsday',5) as $schedule) @empty @endforelse
course group class from to
{{ $schedule->acyname.'_'.$schedule->cname.'('.$schedule->lshort_name.')'.'_'.$schedule->ttname }} {{ $schedule->gname }} {{$schedule->classname}} {{ \carbon\carbon::parse($schedule->gsfrom)->format('h:i a') }} {{ \carbon\carbon::parse($schedule->gsto)->format('h:i a') }}
No classes

Friday

@forelse ($groupSchedules->where('gsday',6) as $schedule) @empty @endforelse
course group class from to
{{ $schedule->acyname.'_'.$schedule->cname.'('.$schedule->lshort_name.')'.'_'.$schedule->ttname }} {{ $schedule->gname }} {{$schedule->classname}} {{ \carbon\carbon::parse($schedule->gsfrom)->format('h:i a') }} {{ \carbon\carbon::parse($schedule->gsto)->format('h:i a') }}
No classes

Saturday

@forelse ($groupSchedules->where('gsday',7) as $schedule) @empty @endforelse
course group class from to
{{ $schedule->acyname.'_'.$schedule->cname.'('.$schedule->lshort_name.')'.'_'.$schedule->ttname }} {{ $schedule->gname }} {{$schedule->classname}} {{ \carbon\carbon::parse($schedule->gsfrom)->format('h:i a') }} {{ \carbon\carbon::parse($schedule->gsto)->format('h:i a') }}
No classes
@endif
{{-- Meetings --}}

Classes of Enrolled Courses

@lang('student.filter by')
{{-- --}} {{-- --}} @php $count=0 @endphp @foreach ($meetings as $item) {{-- --}} {{-- --}} @endforeach
idMeeting numberCourse Name Group Name dateadd discount
{{++$count}}{{$item->mnumber}} {{$item->has_label ? ' ( '.$item->label.' ) ':''}} {{$item->acyname.'_'.$item->cname.' ( '.$item->lshort_name.' ) '.$item->ttname}} {{$item->gname}} {{$item->mstartdate}} @if ($item->mstatus == 'Not Started') @if (in_array($item->mid,$user_has_lesson_discount->pluck('mid')->toArray())) Has discount {{$user_has_lesson_discount->firstWhere('mid',$item->mid)->discount_value}} %
@csrf
@else @endif @else Meeting {{$item->mstatus}} @endif
{{-- Other Actions --}}

Other Actions

    {{-- add siblings --}}
  • Add Siblings

    {{-- Add siblings --}}

    Add Siblings

    {{-- Search students to add to sibling modal --}}
    Search by
    @foreach ($siblings as $key=>$sibling) @endforeach
    Id Student name
    {{++$key}} {{$sibling->first_name .' '. $sibling->middle_name .' '.$sibling->last_name}}
    @csrf
@if(!empty($search_students)) @endif {{-- Edit Phone --}} {{-- End edit phone --}} {{-- Edit Father Phone --}} {{-- End edit father Phone --}} {{-- edit mother phone --}} {{-- End edit mother Phone --}} {{-- Edit Email --}} {{-- Edit Name --}} {{-- Edit father Name --}} {{-- End Edit father Name --}} {{-- Edit mother Name --}} {{-- End Edit mother Name --}} {{-- Edit email --}} {{-- End edit email --}} {{-- Edit father email --}} {{-- End edit father email --}} {{-- Edit Mother Email --}} {{-- End edit Mother email --}} {{-- Edit Father occupation --}} {{-- End edit father occupation --}} {{-- Edit Mother occupation --}} {{-- End Edit mother occupation --}} {{-- Edit Location --}} {{-- Edit Grade --}} {{-- End Edit grade --}} {{-- Edit date of birth --}} {{-- End edit date of birthday --}} {{-- Edit Health Information --}} {{-- End Edit Health Information --}} {{-- Edit Limitations --}} {{-- End Edit Limitations --}} {{-- Edit profile image modal --}} @endsection @section('admin-js') {{-- enroll student --}} {{-- --}} {{-- Accordion --}} {{-- Show add siblings modal and transfere money --}} @if(!empty($search_students)) @endif {{-- fire for re-generate password --}} {{-- Script for Health Information --}} {{-- Script for Limitations --}} {{-- enable the amount input field on check the row checkbox --}} {{-- --}} {{-- Edit Installment --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endsection