@extends('admin.layout.main') @section('content') @component('components.show-page-content') @slot('actionWidget') @component('components.widget-panel') @slot('title') Action @endslot @slot('footer') true @endslot @slot('method') post @endslot @slot('url') /admin/seat-allocation/search @endslot
@include('partials.seat-allocation-list-items')
@endcomponent @endslot @slot('heading') Seat Allocations @endslot @slot('modalId') store-seat-allocation-modal @endslot @slot('modalButtonCaption') Add Seat Allocation @endslot @slot('tableHeading') ID Session Application Type Degree Institute Total Filled Status L-10 Rule L-10 Min %age L-12 Rule L-12 Min %age L-14 Rule L-14 Min %age L-16 Rule L-16 Min %age Required D.L Rule Required Degree %age Action @endslot @slot('tableBody') @foreach($seatAllocations as $current) {{$current->id}} {{$current->admissionSession->session_name}} {{$current->applicationType->short_code}} {{$current->degree->full_name}} {{$current->institution->full_name}} {{$current->total_seats}} {{$current->filled_seats}} {{$current->active ? 'Active': 'De-Active'}} @foreach($current->present()->tenYearDegreesRule as $ten) {{$ten->degree_title}}{{$loop->last ? '' : ', '}} @endforeach {{$current->ten_year_min_percentage_rule}} @foreach($current->present()->twelveYearDegreesRule as $ten) {{$ten->degree_title}}{{$loop->last ? '' : ', '}} @endforeach {{$current->twelve_year_min_percentage_rule}} @foreach($current->present()->fourteenYearDegreesRule as $ten) {{$ten->degree_title}}{{$loop->last ? '' : ', '}} @endforeach {{$current->fourteen_year_min_percentage_rule}} @foreach($current->present()->sixteenYearDegreesRule as $ten) {{$ten->degree_title}}{{$loop->last ? '' : ', '}} @endforeach {{$current->sixteen_year_min_percentage_rule}} {{implode(",", $current->required_degree_ids_rule) }} {{implode(",", $current->required_degrees_percentage_rule) }} id") }}" class = "btn btn-xs btn-info" data-toggle = "tooltip" data-placement = "top" title = "Edit this seat allocation" > @endforeach @endslot @endcomponent @component('components.modal') @slot('id') store-seat-allocation-modal @endslot @slot('size') modal-lg @endslot @slot('method') post @endslot @slot('url') admin/seat-allocation/store @endslot @slot('title') Add Seat Allocation @endslot @slot('formFields') @include('admin.seat-allocation.seat-allocation-form') @endslot @endcomponent @endsection @section('script') @endsection