Selected Courses List 0 / Total fees:
courses list
@foreach ($sessions as $key=>$examinationSession) @if ($courses->where('examination_session_id',$examinationSession->id)->count() > 0)

@foreach ($levels->where('bid',$examinationSession->bid) as $level) @if ($courses->where('examination_session_id',$examinationSession->id)->where('lid',$level->lid)->count() > 0) @php $random_color= Arr::random(['danger','info','primary','success','blue']); @endphp

{{ $level->lname }} ({{ $courses->where('examination_session_id',$examinationSession->id)->where('lid',$level->lid)->count() }})
{{ $level->lshort_name }}

@foreach ($courses->where('examination_session_id',$examinationSession->id)->where('lid',$level->lid) as $course)
School fees: {{ $course->school_fee }} EGP Exam fees: {{ $course->exam_fee }} EGP
@endforeach
@endif @endforeach
@endif @endforeach
@if (auth()->user()->hasRole('ROLE_ADMIN')) @section('admin-js') @elseif (auth()->user()->hasRole('ROLE_TEACHER')) @section('teacher-js') @else @section('student-js') @endif @endsection