@extends('backEnd.master') @section('title') @lang('exam.online_exam') @endsection @push('css') @endpush @section('mainContent')
@if (isset($online_exam)) @if (userPermission('online-exam-store')) @endif @endif
@if (isset($online_exam)) {{ Form::open(['class' => 'form-horizontal', 'route' => ['online-exam-update', $online_exam->id], 'method' => 'PUT']) }} @else @if (userPermission('online-exam-store')) {{ Form::open(['class' => 'form-horizontal', 'route' => 'online-exam-store', 'method' => 'POST']) }} @endif @endif

@if (isset($online_exam)) @lang('exam.edit_online_exam') @else @lang('exam.add_online_exam') @endif

@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if(moduleStatusCheck('University')) @if(isset($editData)) @includeIf('university::common.session_faculty_depart_academic_semester_level', [ 'required' => ['USN', 'UD', 'UA', 'US', 'USL','USEC','USUB'], 'div'=>'col-lg-12','row'=>1,'mt'=>'mt-0' ,'subject'=>true, ]) @else @includeIf('university::common.session_faculty_depart_academic_semester_level', [ 'required' => ['USN', 'UD', 'UA', 'US', 'USL','USEC','USUB'], 'div'=>'col-lg-12','row'=>1,'mt'=>'mt-0' ,'subject'=>true, 'multipleSelect' => 1, ]) @endif @else
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
loader
@if ($errors->has('subject')) {{ $errors->first('subject') }} @endif
@if (isset($online_exam))
loader
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@else
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@endif
@endif
{{ $errors->first('date') }}
{{ $errors->first('date') }}
@if ($errors->has('start_time')) {{ $errors->first('start_time') }} @endif
@if ($errors->has('end_time')) {{ $errors->first('end_time') }} @endif
@if ($errors->has('percentage')) {{ $errors->first('percentage') }} @endif
@if ($errors->has('instruction')) {{ $errors->first('instruction') }} @endif
{{-- For next update --}}
auto_mark == 1 ? 'checked' : '' }} name="auto_mark" value="1"> (@lang('exam.only_for_multiple'))
@php $tooltip = ''; if (userPermission('online-exam-store')) { $tooltip = ''; } else { $tooltip = 'You have no permission to add'; } @endphp
{{ Form::close() }}

@lang('exam.online_exam_list')

@if(moduleStatusCheck('University')) @else @endif
@lang('exam.title') @lang('university::un.semester_label') (@lang('common.section'))@lang('common.class_Sec')@lang('exam.subject') @lang('exam.exam_date') @lang('exam.duration') @lang('exam.minimum_percentage') @lang('common.status') @lang('common.action')
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js') @include('backEnd.partials.multi_select_js') @include('backEnd.partials.server_side_datatable') @push('script') @endpush