@php $pageName = "institution"; $subpageName = "cat"; @endphp @extends('layouts.app') @section('content')
@if (session('message_success'))

{{session('message_success')}}

@endif @if (session('message_error'))

{{session('message_error')}}

@endif

Edit Category

@csrf
@error('name'){{$message}} @enderror
@error('class_id'){{$message}} @enderror
@error('status'){{$message}} @enderror
List All Institution Categories
@php $i=1; @endphp @if($cat) @foreach($cat as $catlist) @php $i++; @endphp @endforeach @endif
# Name Classification Status Action
{{ $i }} {{$catlist->name}} {{$catlist->classification->name}} {{$catlist->status}}
@endsection @section('scripts') @endsection