@extends('backEnd.master') @section('title') @lang('exam.exam_setup') @endsection @section('mainContent')
@if (isset($exam)) @if (userPermission(215)) @endif @endif
@if (isset($exam)) {{ Form::open(['class' => 'form-horizontal', 'route' => ['global-exam-update', $exam->id], 'method' => 'PUT']) }} @else @if (userPermission(215)) {{ Form::open(['class' => 'form-horizontal', 'route' => 'global-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')
@if (@generalSetting()->result_type == 'mark') @endif
@lang('exam.exam_title') @lang('exam.exam_mark')@lang('exam.pass_mark')@lang('common.action')
{{-- --}}
@lang('exam.total')
@php $tooltip = ''; if (userPermission(215)) { $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->GetGlobalExamTitle != '' ? $exam->GetGlobalExamTitle->title : '' }}{{ $exam->sessionDetails->name }} {{ $exam->facultyDetails->name . '(' . $exam->departmentDetails->name . ')' }} {{ $exam->academicYearDetails->name }} {{ $exam->semesterDetails->name }}{{ $exam->globalClass != '' ? $exam->globalClass->class_name : '' }} {{ $exam->globalSection != '' ? $exam->globalSection->section_name : '' }}{{ $exam->globalSubject != '' ? $exam->globalSubject->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(397)) @lang('common.edit') @endif @if (userPermission(216)) @lang('common.delete') @endif @endif
@endsection @include('backEnd.partials.data_table_js') @push('script') @endpush