@extends('layouts.app') @section('form-title') {{ __('Settings organisation types') }} @endsection @section('form-sub-title') {{ __('Add, delete or rename organisation types') }} @endsection @section('breadcrumb') @endsection @section('content')
{{-- Add section --}} @if(canViewUpdate('add organisation types'))
{{ __('Add new organisation type') }}
@csrf
{{ __('Dutch') }}
{{ __('English') }}
@if($errors->has('title_nl'))

{{ $errors->first('title_nl') }}

@endif
@if($errors->has('title_en'))

{{ $errors->first('title_en') }}

@endif
@endif {{-- Add section ends --}} {{-- Edit section --}} @if($organisation_types->isNotEmpty())
{{ __('Organisation types') }}
{{ __('organisation types description') }}
@csrf @method('PUT')
@if(canViewUpdate('edit organisation types')) @endif @if(canViewUpdate('delete organisation types')) @endif @foreach ($organisation_types as $organisation_type) @php $old_pos[] = !empty($organisation_type->list_order) ? $organisation_type->list_order : $organisation_type->id; @endphp @if(canViewUpdate('edit organisation types')) @endif @endforeach
{{ __('Organisations') }} {{ __('Dutch') }} {{ __('English') }}
@if($organisation_type->organisations_count) {{ $organisation_type->organisations_count }} @else 0 @endif @if(canViewUpdate('edit organisation types')) @else {{ ucfirst($organisation_type->name_nl) }} @endif @if(canViewUpdate('edit organisation types')) @else {{ ucfirst($organisation_type->name) }} @endif @if(canViewUpdate('delete organisation types')) @if(!$organisation_type->organisations_count) @else @endif @endif
@if(canViewUpdate('edit organisation types'))
@endif
@else
@endif {{-- Edit section ends --}}
@endsection @push('child-scripts') @if(canViewUpdate('delete organisation types')) @endif @endpush