@extends('backEnd.master') @section('title') @lang('academics.pricing_plan_type') @endsection @section('mainContent')
@if (isset($pricing_plan_type)) @if (userPermission('pricing_plan_type_store')) @endif @endif
@if (isset($pricing_plan_type)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => ['pricing_plan_type_update', $pricing_plan_type->id], 'method' => 'PUT', 'enctype' => 'multipart/form-data']) }} @else @if (userPermission('pricing_plan_type_store')) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'pricing_plan_type_store', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @endif @endif

@if (isset($pricing_plan_type)) @lang('academics.edit_pricing_plan_type') @else @lang('academics.add_pricing_plan_type') @endif

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@php $tooltip = ''; if (userPermission('pricing_plan_type_store')) { $tooltip = ''; } elseif ( isset($pricing_plan_type) && userPermission('pricing_plan_type_edit') ) { $tooltip = ''; } else { $tooltip = 'You have no permission to add'; } @endphp
{{ Form::close() }}

@lang('academics.pricing_plan_type_list')

@foreach ($pricing_plan_types as $item) @endforeach
@lang('academics.pricing_plan_type') @lang('common.action')
{{ $item->name }} @if (userPermission('pricing_plan_type_edit')) @lang('common.edit') @endif @if (userPermission('pricing_plan_type_delete')) @lang('common.delete') @endif
@endsection @include('backEnd.partials.data_table_js')