@extends('layouts.admin') @section('title', $resourceLabel) @section('content') @php $breadcrumbs = [ ['label' => 'Home', 'href' => route('dashboard')], ['label' => 'Institution Setup', 'href' => route('institution.dashboard')], ['label' => 'Study Plan Periods'], ]; $columns = [ ['key' => 'code', 'label' => 'Code'], ['key' => 'name', 'label' => 'Name'], ['key' => 'academicSession.name', 'label' => 'Session', 'render' => 'relation', 'relation' => 'academicSession.name'], ['key' => 'period_type', 'label' => 'Type', 'render' => 'enum'], ['key' => 'sequence', 'label' => 'Sequence'], ['key' => 'status', 'label' => 'Status', 'render' => 'status'], ]; @endphp @include('institution.crud.index', compact('breadcrumbs', 'columns')) @endsection