@extends('backEnd.master') @section('title') @lang('fees.fees_type') @endsection @section('mainContent')
@if(isset($fees_type)) @if(userPermission("fees_type_store")) @endif @endif
@if(isset($fees_type)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'fees_type_update', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @else @if(userPermission("fees_type_store")) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'fees_type_store', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif @endif

@if(isset($fees_type)) @lang('fees.edit_fees_type') @else @lang('fees.add_fees_type') @endif

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{-- {{old('fees_group')}} --}}
@if (session()->has('message-exist')) {{ session()->get('message-exist') }} @endif @if ($errors->has('fees_group')) {{ $errors->first('fees_group') }} @endif
@php $tooltip = ""; if(userPermission("fees_type_store")){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp
{{ Form::close() }}

@lang('fees.fees_type_list')

@foreach($fees_types as $fees_type) @endforeach
@lang('common.name') @lang('fees.fees_group') @lang('common.description') @lang('common.action')
{{@$fees_type->name}} {{@$fees_type->fessGroup->name}} {{@$fees_type->description}} @if(userPermission('fees_type_edit')) @lang('common.edit') @endif @if(userPermission('fees_type_delete')) @if(!@$fees_type->un_semester_label_id) @lang('common.delete') @endif @endif
@endsection @include('backEnd.partials.data_table_js')