@extends('admin.layout.main') @section('content') @component('components.show-page-content') @slot('heading') Degree Levels @endslot @slot('modalId') store-degree-level-modal @endslot @slot('modalButtonCaption') Add Degree Levels @endslot @slot('tableHeading') Title Level Application Type Status Action @endslot @slot('tableBody') @foreach($degreeLevels as $current) {{$current->degree_title}} {{$current->degree_level}} @foreach($current->present()->subApplicationTypes as $subApplicationType) {{$subApplicationType->sub_application_type}}{{$loop->last ? '' : ", "}} @endforeach {{$current->active ? 'Active': 'De-Active'}} id") }}" class = "btn btn-xs btn-info" data-toggle = "tooltip" data-placement = "top" title = "Edit this session"> @endforeach @endslot @endcomponent @component('components.modal') @slot('id') store-degree-level-modal @endslot @slot('method') post @endslot @slot('url') admin/degree-level/store @endslot @slot('title') Add Degree Level @endslot @slot('formFields') @include('admin.degree-level.degree-level-form') @endslot @endcomponent @endsection @section('script') @endsection