@extends('layouts.app') @section('title', __('All Active Examinations')) @section('content')
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Exams').' / '. trans('Active Exams').'']) @include('components.sectionbar.examination-bar')
@if(count($exams) > 0)
@foreach($exams as $exam) @endforeach
@lang('Si') @lang('Exam Name') @lang('Start Date') @lang('End Date') @lang('Created at') @lang('Status') {{transMsg(school('country')->code == 'BD' ? 'View Subjects' : 'View Courses')}}
{{$loop->index +1}} {{$exam->exam_name}} {{date('d-m-Y',strtotime($exam->start_date))}} {{date('d-m-Y',strtotime($exam->end_date))}} {{date('d-m-Y',strtotime($exam->created_at))}} {{status($exam->active)}} {{transMsg(school('country')->code == 'BD' ? 'View Subjects' : 'View Courses')}}
@else @lang('No Related Data Found.') @endif {{-- @if(count($exams) > 0) @foreach($exams as $exam) @component('components.active-exams',['exam'=>$exam,'courses'=>$courses]) @endcomponent @endforeach @endif--}}
@push('modalAppend') @if(count($exams) > 0) @foreach($exams as $exam) @endforeach @endif @endpush @endsection