@if ($student->image)
->user()->getImage($student->image) }})
@else
.'/images/users/user_profile.png' }})
@endif
{{-- button for re-generate --}}
{{-- 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
| Id |
Course Name |
Board Name |
Session Name |
Group |
Enrolled At |
Deleted At |
Status |
@php $count = 0 @endphp
@foreach ($allCourses as $item)
| {{++$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' }}
|
@endforeach
Student Grades History
| From Grade |
To Grade |
Academic Year Session |
Upgraded At |
@foreach ($student_grade_history as $upgrade)
|
{{ $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') }}
|
@endforeach
{{-- Student Transcript --}}
{{-- Header --}}
{{ $student->first_name }} {{ $student->middle_name }} {{ $student->last_name }}
User ID: {{ $student->username }}
{{-- Transcript Session Filter --}}
{{--End filter-- }}
{{-- Export button --}}
| From Grade |
To Grade |
Academic Year Session |
Upgraded At |
@foreach ($student_grade_history as $upgrade)
|
{{ $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') }}
|
@endforeach
{{-- Transcript Tables --}}
@if($transcript->isEmpty())
No transcript data available.
@else
@foreach($transcript as $sessionKey => $courses)
@php
[$sessionName, $year] = explode('|', $sessionKey);
@endphp
Session:
{{ $sessionName }} {{ $year }}
| # |
Course |
Group |
Teaching Team |
Board |
Status |
Grade |
Enrolled At |
Deleted At |
@foreach($courses as $idx => $c)
| {{ $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
@endforeach
@endif
{{-- Courses --}}
List Of Enrolled Courses
| Id |
Course Name |
board Name |
Session Name |
Group |
Enrolled At |
|
Withdraw |
{{-- recording date | --}}
@php
$count=0
@endphp
@foreach ($enrolledCourses as $item)
| {{++$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))}}
|
|
@if($item->enrollment_status == 0)
@elseif($item->enrollment_status == 1)
@endif
|
@endforeach
{{-- Register student in course --}}
Enroll student in courses
@if ($groupSchedules->count() > 0)
Student Name: {{ $student_info->user->first_name }} {{ $student_info->user->middle_name }} {{ $student_info->user->last_name }}
Student Code: {{ $student_info->user->username }}
Grade: {{ $student_info->grade->name }}
Education System: {{ $student_info->educationSystem->esname }}
{{--
 }})
--}}
Sunday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',1) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Monday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',2) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Tuesday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',3) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Wednesday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',4) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Thursday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',5) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Friday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',6) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Saturday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',7) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Sunday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',1) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Monday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',2) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Tuesday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',3) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Wednesday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',4) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Thursday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',5) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Friday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',6) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
Saturday
| course |
group |
class |
from |
to |
@forelse ($groupSchedules->where('gsday',7) as $schedule)
| {{ $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') }} |
@empty
| No classes |
@endforelse
@endif
{{-- Meetings --}}
Classes of Enrolled Courses
| id |
{{-- Meeting number | --}}
Course Name |
Group Name |
date |
{{-- add discount | --}}
@php
$count=0
@endphp
@foreach ($meetings as $item)
| {{++$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}} %
@else
@endif
@else
Meeting {{$item->mstatus}}
@endif
| --}}
@endforeach
{{-- Other Actions --}}
{{-- add siblings --}}
-
Add Siblings
{{-- Add siblings --}}
{{-- Search students to add to sibling modal --}}
| Id |
Student name |
|
@foreach ($siblings as $key=>$sibling)
| {{++$key}} |
{{$sibling->first_name .' '. $sibling->middle_name .' '.$sibling->last_name}} |
|
@endforeach
@if(!empty($search_students))
@include('admin.errors.form-errors')
@if (request()->student_search === 'search_to_add_siblings')
@forelse ($search_students as $item)
@empty
There is no data
@endforelse
@endif
@if (request()->student_search === 'search_to_transfer_money')
@forelse ($search_students as $item)
@empty
There is no data
@endforelse
@endif
@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