@extends('backEnd.master') @section('title') @lang('student.student_category') @endsection @section('mainContent') @php $breadCrumbs = [ 'h1'=> __('student.student_category'), 'bcPages'=> [ ''.__('student.student_information').'', ], ]; @endphp
@if(isset($student_type)) @if(userPermission('student_category_store')) @endif @endif
@if(isset($student_type)) {{ Form::open(['class' => 'form-horizontal', 'route' => 'student_category_update', 'method' => 'POST']) }} @else @if(userPermission('student_category_store')) {{ Form::open(['class' => 'form-horizontal', 'route' => 'student_category_store', 'method' => 'POST']) }} @endif @endif

@if(isset($student_type)) @lang('student.edit_student_category') @else @lang('student.add_student_category') @endif

@if ($errors->has('category')) {{ $errors->first('category') }} @endif
@php $tooltip = ""; if(userPermission('student_category_store')){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp
{{ Form::close() }}

@lang('student.student_category_list')

@foreach($student_types as $key => $student_type) @endforeach
@lang('common.sl') @lang('student.category') @lang('common.actions')
{{$key+1}} {{$student_type->category_name}} @php $routeList =[ (userPermission('student_category_edit')) ? ''.__('common.edit').'' : null, (userPermission('student_category_delete')) ? ''.__('common.delete').'' : null, ]; @endphp
@endsection @include('backEnd.partials.data_table_js')