@extends('backEnd.master') @section('title') @lang('exam.exam_type') @endsection @section('mainContent') @lang('exam.exam_type') @lang('common.dashboard') @lang('exam.examination') @lang('exam.exam_type') @lang('exam.exam_setup') @if(isset($exam_type_edit)) @if(userPermission(209)) @lang('common.add') @endif @endif @if(isset($exam_type_edit)) @lang('exam.edit_exam_type') @else @lang('exam.add_exam_type') @endif @if(isset($exam_type_edit)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'global_exam_type_update', 'method' => 'POST']) }} @else @if(userPermission(209)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'global_exam_type_store', 'method' => 'POST']) }} @endif @endif @lang('exam.exam_name') * @if ($errors->has('exam_type_title')) {{ $errors->first('exam_type_title') }} @endif @php $tooltip = ""; if(userPermission(209)){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp @if(isset($exam_type_edit)) @lang('exam.update_exam_type') @else @lang('exam.save_exam_type') @endif {{ Form::close() }} @lang('exam.exam_type_list') @lang('common.sl') @lang('exam.exam_name') {{-- @lang('common.status') --}} @lang('common.action') @php $i=0; @endphp @foreach($exams_types as $exams_type) {{++$i}} {{ @$exams_type->title}} @if(userPermission(210)) @lang('common.edit') @endif @if(userPermission(211)) @lang('common.delete') @endif @lang('exam.delete_exam_type') × @lang('common.are_you_sure_to_delete') @lang('common.cancel') @lang('common.delete') @endforeach @endsection @include('backEnd.partials.data_table_js')