@extends('layout.mainlayout') @section('content')
@component('components.breadcrumb') @slot('title') Resource Type Name List @endslot @endcomponent
Add New Resource Type
@if (session('success'))
{{ session('success') }}
@elseif(session('error'))
{{ session('error') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @if(isset($resource_type)) @method('PUT') @endif

All Resource Type Data

List of all Resource Type, you can edit or delete any Resource Type. Please do it very carefully.

@foreach($resource_types as $resource_type) @endforeach
ID Name Action
{{$resource_type->id}} {{$resource_type->name}} @can('update-resource-type') Edit @endcan @can('delete-resource-type') Delete @endcan
@if(isset($resource_type))
@csrf @method('PUT')
@endif @endsection @push('scripts') @endpush