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

@if (isset($exam)) @lang('exam.edit_exam') @else @lang('exam.add_exam') @endif

@if ($errors->has('exam_system')) {{ $errors->first('exam_system') }} @endif
{{-- Exam Div --}}
{{-- exam end --}}
@if ($errors->has('exam_marks')) {{ $errors->first('exam_marks') }} @endif
@if (@generalSetting()->result_type == 'mark')
@if ($errors->has('pass_mark')) {{ $errors->first('pass_mark') }} @endif
@endif
@lang('exam.add_mark_distributions')
@lang('exam.exam_title') @lang('exam.exam_mark') @lang('common.action')
{{-- --}}
@lang('exam.total')
@lang('exam.exam_schedule_create')
@if ($errors->has('teacher_id')) {{ $errors->first('teacher_id') }} @endif
{{ $errors->first('date') }}
{{ $errors->first('date') }}
{{ $errors->first('date') }}
@php $tooltip = ''; if (userPermission('exam-setup-store') || userPermission('exam-edit')) { $tooltip = ''; } else { $tooltip = 'You have no permission to add'; } @endphp
{{ Form::close() }}

@lang('exam.exam_list')

@if (moduleStatusCheck('University')) @else @endif @if (@generalSetting()->result_type == 'mark') @endif @php $count =1 ; @endphp @foreach ($exams as $exam) @if (moduleStatusCheck('University')) @else @endif @if (@generalSetting()->result_type == 'mark') @endif @endforeach
@lang('common.sl') @lang('exam.exam_title')@lang('common.session') @lang('university::un.faculty_department') @lang('common.academic_year') @lang('university::un.semester')@lang('common.class') @lang('common.section')@lang('exam.subject') @lang('exam.total_mark')@lang('exam.pass_mark')@lang('exam.mark_distribution') @lang('common.action')
{{ $count++ }} {{ $exam->GetExamTitle != '' ? $exam->GetExamTitle->title : '' }}{{ $exam->sessionDetails->name }} {{ $exam->facultyDetails->name . '(' . $exam->departmentDetails->name . ')' }} {{ $exam->academicYearDetails->name }} {{ $exam->semesterDetails->name }}{{ $exam->class != '' ? $exam->class->class_name : '' }} {{ $exam->section != '' ? $exam->section->section_name : '' }}{{ $exam->subject != '' ? $exam->subject->subject_name : '' }} {{ $exam->exam_mark }}{{ $exam->pass_mark }} @foreach ($exam->markDistributions as $row)
{{ $row->exam_title }}
{{ $row->exam_mark }}
@endforeach
@if ($exam->markRegistered == '') @if (userPermission('exam-edit')) @lang('common.edit') @endif @if (userPermission('exam-delete')) @lang('common.delete') @endif @endif
@endsection @include('backEnd.partials.date_picker_css_js') @push('script') @endpush @include('backEnd.partials.data_table_js')