@extends('backEnd.master') @section('title') @lang('common.section') @endsection @section('mainContent')
@if (isset($section)) @if (userPermission(266)) @endif @endif

@if (isset($section)) @lang('academics.edit_section') @else @lang('academics.add_section') @endif

@if (isset($section)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'global_section_update', 'method' => 'POST']) }} @else @if (userPermission(266)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'global_section_store', 'method' => 'POST']) }} @endif @endif
@if(isset($parentSection)) @endif
@if ($errors->has('name')) {{ @$errors->first('name') }} @endif
@php $tooltip = ''; if (userPermission(266)) { $tooltip = ''; } else { $tooltip = 'You have no permission to add'; } @endphp
{{ Form::close() }}

@lang('academics.section_list')

@if (moduleStatusCheck('MultiBranch') && isset($branches)) @endif @if(moduleStatusCheck('University')) @endif @foreach ($sections as $section) @if (moduleStatusCheck('MultiBranch') && isset($branches)) @endif @if(moduleStatusCheck('University')) @endif @endforeach
@lang('common.section')@lang('common.branch')@lang('common.academic')@lang('common.action')
{{ @$section->section_name }}{{ $section->unAcademic->name }} @php $routeList = [ userPermission(267) ? ' '.__('common.edit').'':null, userPermission(268) ? ''.__('common.delete').'':null, ] @endphp
@endsection @include('backEnd.partials.data_table_js')