@extends('layouts.student') @section('pageTitle',$row->name) @section('innerTitle',$row->name) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('student.dashboard')=>__lang('dashboard'), route('student.student.mysessions')=>__lang('my-courses'), '#'=>$pageTitle ]]) @endsection @section('content')
@if(!empty($row->picture)) @else @endif
{{ __lang('cost') }}
@if(empty($row->payment_required)) {{ __lang('free') }} @else {{ price($row->fee) }} @endif
{{ __lang('classes') }}
{{ $totalClasses }}
{{ __lang('type') }}
@php switch($row->type){ case 'b': echo __lang('training-online'); break; case 's': echo __lang('training-session'); break; case 'c': echo __lang('online-course'); break; } @endphp
@if($studentCourse)
{{ __lang('enrollment-code') }}
{{ $studentCourse->reg_code }}
@endif
{!! clean($row->short_description) !!}
{!! $row->description !!}
@php $sessionVenue= $row->venue; @endphp @foreach($rowset as $row2)

{{ $row2->name }}

@if(!empty($row2->lesson_date))
{{ __lang('starts') }} {{ showDate('d/M/Y',$row2->lesson_date) }}
@endif
@php if(!empty($row2->picture)): @endphp @php endif; @endphp
{!! $row2->description !!}
@endforeach
@foreach($instructors as $instructor)
image
{{ __lang('contact') }} @section('footer') @parent @endsection
{{ \App\Admin::find($instructor->admin_id)->adminRole->name }}

{!! clean($instructor->about) !!}

@endforeach
@php foreach($tests as $testRow): @endphp @php if($testRow->test_status==1): @endphp @php endif; @endphp @php endforeach; @endphp
{{ __lang('test') }} {{ __lang('questions') }} {{ __lang('opens') }} {{ __lang('closes') }} {{ __lang('minutes-allowed') }} {{ __lang('multiple-attempts-allowed') }} {{ __lang('passmark') }} {{ __lang('actions') }}
{{ $testRow->name }} {{ $questionTable->getTotalQuestions($testRow->test_id) }} @php if(!empty($testRow->opening_date)) echo showDate('d/M/Y',$testRow->opening_date); @endphp @php if(!empty($testRow->closing_date)) echo showDate('d/M/Y',$testRow->closing_date); @endphp {{ empty($testRow->minutes)?__lang('unlimited'):$testRow->minutes }} {{ boolToString($testRow->allow_multiple) }} {{ ($testRow->passmark > 0)? $testRow->passmark.'%':__lang('ungraded') }} @php if( (!$studentTest->hasTest($testRow->test_id,$studentId) || !empty($testRow->allow_multiple)) && ($testRow->opening_date < time() || $testRow->opening_date == 0 ) && ($testRow->closing_date > time() || $testRow->closing_date ==0)): @endphp {{ __lang('take-test') }} @php endif; @endphp
@php if(!empty($row->session_date)): @endphp @php endif; @endphp @php if(!empty($row->session_end_date)): @endphp @php endif; @endphp @php if(!empty($row->enrollment_closes)): @endphp @php endif; @endphp @php if(!empty($row->length)): @endphp @php endif; @endphp @php if(!empty($row->effort)): @endphp @php endif; @endphp @php if(!empty($row->enable_chat)): @endphp @php endif; @endphp @php if(setting('general_show_fee')==1): @endphp @php endif; @endphp
{{ __lang('starts') }} {{ showDate('d/M/Y',$row->session_date) }}
{{ __lang('ends') }} {{ showDate('d/M/Y',$row->session_end_date) }}
{{ __lang('enrollment-closes') }} {{ showDate('d/M/Y',$row->enrollment_closes) }}
{{ __lang('length') }} {{ $row->length }}
{{ __lang('effort') }} {{ $row->effort }}
{{ __lang('live-chat') }} {{ __lang('enabled') }}
{{ __lang('fee') }} @php if(empty($row->payment_required)): @endphp {{ __lang('free') }} @php else: @endphp {{ price($row->fee) }} @php endif; @endphp
{{ __lang('resume-course') }}
@endsection @section('footer') @endsection @section('header') @endsection