@extends('layouts.app') @section('title', __('All Classes and Sections')) @section('content')
@include('layouts.leftside-menubar')
@if(count($classes) > 0)
@if(isset($_GET['att']) && $_GET['att'] == 1) @endif @if(isset($_GET['course']) && $_GET['course'] == 1) @endif @foreach($sections as $key => $section) @if($section->section_number != 'Admission') @php($class = $section->class) @if(isset($_GET['att']) && $_GET['att'] == 1) @foreach ($exams as $ex) @if ($ex->class_id == $class->id) @endif @endforeach @endif @if(isset($_GET['course']) && $_GET['course'] == 1) @endif @endif @endforeach
# @lang('Class') @lang('Section')@lang('View Today\'s Attendance') @lang('View Each Student\'s Attendance') @lang('Give Attendance')@lang('View Courses') @lang('View Students') @lang('View Routines') @lang('View Syllabus')
{{ $key + 1 }} {{$class->name}} @if($class->group)({{$class->group}})@endif {{$section->section_number}} @lang('View Today\'s Attendance') @lang('View Each Student\'s Attendance') @foreach ($exams as $ex) @if ($ex->class_id == $class->id) @lang('Take Attendance') @endif @endforeach @if($ce == 0) @lang('Assign Class Under Exam') @endif @lang('View Courses') @lang('View Students') @lang('View Routines') @lang('View Syllabus')
@else
@lang('No Related Data Found.')
@endif
@endsection