@extends('layouts.app') @section('content') @include('layouts.toolbar')
| Grades | Active List | Enrollments Count | Active Count | Inactive Count | Withdrawn Counts | Cancelled Counts | |
|---|---|---|---|---|---|---|---|
| {{ $gradeKey }} |
@if(isset($gradeValue['enrollments_students']) && count($gradeValue['enrollments_students']))
@foreach($gradeValue['enrollments_students'] as $name)
{{ $name }}
@endforeach
|
@php
$withdrawns = isset($gradeValue['inactive_students_withdrawn']) ? json_encode($gradeValue['inactive_students_withdrawn']) :json_encode([]);
$cancelled = isset($gradeValue['cancelled_students_name']) ? json_encode($gradeValue['cancelled_students_name']) :json_encode([]);
$inactive_students_name = isset($gradeValue['inactive_students_name']) ? json_encode($gradeValue['inactive_students_name']) :json_encode([]);
@endphp
{{ isset($gradeValue['enrollments']) ? $gradeValue['enrollments'] : 0 }} | {{ isset($gradeValue['active_students']) ? $gradeValue['active_students'] : 0 }} | {{ isset($gradeValue['inactive_students']) ? $gradeValue['inactive_students'] : 0 }} | {{ isset($gradeValue['inactive_students_withdrawn']) ? count($gradeValue['inactive_students_withdrawn']) : 0 }} | {{ isset($gradeValue['cancelled_students_name']) ? count($gradeValue['cancelled_students_name']) : 0 }} | {{--
@if(isset($gradeValue['students_withdrawn_after_selected_date']) && count($gradeValue['students_withdrawn_after_selected_date']))
@foreach($gradeValue['students_withdrawn_after_selected_date'] as $nameAndDate)
{{ $nameAndDate['student_name'].' ('.$nameAndDate['grade_name'].'; ' . dateFormat2($nameAndDate['enrollment_end_date']).')' }}
@endforeach
| --}}
| No Data | - | 0 | 0 | 0 | 0 | 0 | |
| Total | {{ $allCount }} | {{ $activeCount }} | {{ $InActiveCount }} | {{ $withdrawnCount }} | {{ $calcelledCount }} | ||
| Total | 0 | 0 | 0 | 0 | 0 |