@php
     $items  = [
        [
            'no'=>'5.1.1', 
            'title'=>'Students benefited by scholarships and freeships', 
            'url'=>'#'
],
[
            'no'=>'5.1.2', 
            'title'=>'Capacity development and skills enhancement activities', 
            'url'=>'#'
],
[
            'no'=>'5.1.3', 
            'title'=>'Students benefitted by guidance for competitive examinations and career counseling', 
            'url'=>'#'
],
[
            'no'=>'5.1.4', 
            'title'=>'Student grievance redressal', 
            'url'=>'#'
],
    ];

    $data1 = [
        [
            'no'=>'5.1.1.1', 
            'title'=>'List of beneficiary students', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.2', 
            'title'=>'Sanction letters', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.3', 
            'title'=>'Policy documents', 
            'url'=>'#'
],
    ];

    $data2 = [
        [
            'no'=>'5.1.2.1', 
            'title'=>'Report on activities to enhance soft skill, language and communication skill and life skill', 
            'url'=>'#'
],
[
            'no'=>'5.1.2.2', 
            'title'=>'Report on ICT/computing skill enhancement activity', 
            'url'=>'#'
],
    ];
    $data3 = [
        [
            'no'=>'5.1.3.1', 
            'title'=>'Report of the guidance activities', 
            'url'=>'#'
],

    ];
    $data4 = [
        [
            'no'=>'5.1.4.1', 
            'title'=>'Organization wide awareness and undertakings on policies', 
            'url'=>'#'
],
[
            'no'=>'5.1.4.2', 
            'title'=>'Mechanisms for submission of online/offline students grievances', 
            'url'=>'#'
],
[
            'no'=>'5.1.4.3', 
            'title'=>'Proof for Implementation of guidelines', 
            'url'=>'#'
],
[
            'no'=>'5.1.4.4', 
            'title'=>'Details of statutory/regulatory Committees', 
            'url'=>'#'
],
[
            'no'=>'5.1.4.5', 
            'title'=>'Annual report of the committee', 
            'url'=>'#'
],

    ];
    
    $data_year = [
        [
            'no'=>'2022-2023', 
            'title'=>'List of beneficiary students', 
            'url'=>'#'
],
[
            'no'=>'2021-2022', 
            'title'=>'List of beneficiary students', 
            'url'=>'#'
],
[
            'no'=>'2020-2021', 
            'title'=>'List of beneficiary students', 
            'url'=>'#'
],
[
            'no'=>'2019-2020', 
            'title'=>'List of beneficiary students', 
            'url'=>'#'
],
[
            'no'=>'2018-2019', 
            'title'=>'List of beneficiary students', 
            'url'=>'#'
],
    ];

    $data_year2 = [
        [
            'no'=>'2022-2023', 
            'title'=>'Scholarship Sanction List of Students', 
            'url'=>'#'
],
[
            'no'=>'2021-2022', 
            'title'=>'Scholarship Sanction List of Students', 
            'url'=>'#'
],
[
            'no'=>'2020-2021', 
            'title'=>'Scholarship Sanction List of Students', 
            'url'=>'#'
],
[
            'no'=>'2019-2020', 
            'title'=>'Scholarship Sanction List of Students', 
            'url'=>'#'
],
[
            'no'=>'2018-2019', 
            'title'=>'Scholarship Sanction List of Students', 
            'url'=>'#'
],
    ];
    $data_year3 = [
        [
            'no'=>'5.1.1.3_a', 
            'title'=>'Kanyashree Prakalpa', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.3_b', 
            'title'=>'Minority MCM', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.3_c', 
            'title'=>'National Scholarship', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.3_d', 
            'title'=>'OASIS', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.3_e', 
            'title'=>'Railway Scholarship', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.3_f', 
            'title'=>'Minority SVMCM', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.3_g', 
            'title'=>'SVMCM', 
            'url'=>'#'
],
[
            'no'=>'5.1.1.3_h', 
            'title'=>'Institute Scholarship', 
            'url'=>'#'
],

    ];
    $data_year4 = [
        [
            'no'=>'2022-2023', 
            'title'=>'Report on activities to enhance soft skill, language and communication skill and life skill', 
            'url'=>'#'
],
[
            'no'=>'2021-2022', 
            'title'=>'Report on activities to enhance soft skill, language and communication skill and life skill', 
            'url'=>'#'
],
[
            'no'=>'2020-2021', 
            'title'=>'Report on activities to enhance soft skill, language and communication skill and life skill', 
            'url'=>'#'
],
[
            'no'=>'2019-2020', 
            'title'=>'Report on activities to enhance soft skill, language and communication skill and life skill', 
            'url'=>'#'
],
    ];
    $data_year5 = [
        [
            'no'=>'2022-2023', 
            'title'=>'Report on ICT/computing skill enhancement activity', 
            'url'=>'#'
],
[
            'no'=>'2021-2022', 
            'title'=>'Report on ICT/computing skill enhancement activity', 
            'url'=>'#'
],
[
            'no'=>'2020-2021', 
            'title'=>'Report on ICT/computing skill enhancement activity', 
            'url'=>'#'
],
[
            'no'=>'2019-2020', 
            'title'=>'Report on ICT/computing skill enhancement activity', 
            'url'=>'#'
],
    ];
    $data_year6 = [
        [
            'no'=>'2022-2023', 
            'title'=>'Report of the guidance activities', 
            'url'=>'#'
],
[
            'no'=>'2021-2022', 
            'title'=>'Report of the guidance activities', 
            'url'=>'#'
],
[
            'no'=>'2020-2021', 
            'title'=>'Report of the guidance activities', 
            'url'=>'#'
],
[
            'no'=>'2019-2020', 
            'title'=>'Report of the guidance activities', 
            'url'=>'#'
],
[
            'no'=>'2018-2019', 
            'title'=>'Report of the guidance activities', 
            'url'=>'#'
],
    ];
    $data_year7 = [
        
    ];
    $data_year8 = [
        
    ];

@endphp


<style>
    tbody {
        vertical-align: top !important;
    }
</style>
@extends('frontend.mainlayout')
@section('title', 'QIF 5.1: Student Support - RERF Group of Institutions')
@section('banner')
    @include('qic-nav')
    <section class="color-10 background-1 font-1 py-6 fw-400">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="fs--1 font-1 mb-2">
                        <a class="mr-2 color-10" href="/home">Home</a><span class="fa fa-angle-double-right color-7 "></span>
                        <a class="mx-2 color-10" href="/all-qif">All QIFs</a><span
                            class="fa fa-angle-double-right color-7 "></span>
                        <a class="mx-2 color-10" href="/qif2">QIF 2</a><span
                            class="fa fa-angle-double-right color-7 "></span>
                        <a class="mx-2 color-8">QIF 5.1</a>
                    </div>
                    <h1 class="fs-3 fs-sm-4 fw-400">QIF 5.1: Student Support</h1>
                </div>
            </div>
            <!--/.row-->
        </div>
        <!--/.container-->
    </section>

@endsection
@section('main')

    <section class="py-5 font-1">
        <div class="container">
            <div class="row font-1">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 color-3">
                    <table>
                        <tbody class="fw-400 fs-0">
                            @foreach($items as $item)
                            <tr>
                                <td class="pb-3"><span class="color-5 fs-1 fw-600 pr-3 ">{{$item['no'] ?? ''}}</span></td>
                                <td class="pb-3">
                                    <a href = "{{$item['url']}}" target="_blank"><span class = "fw-600 fs-1 color-1">{{$item['title'] ?? ''}}</span></a>
                                        <ul class="no-style pt-2">
                                            @if($item['no'] == '5.1.1')
                                                @foreach($data1 as $data)
                                                    <li class="pt-2">
                                                        <a class="pl-2" href="{{$data['url'] ?? ''}}" target="_blank"><span
                                                                class="color-primary">{{$data['no'] ?? '' }}&nbsp;&nbsp; {{$data['title'] ?? ''}}</a>
                                                        @if($data['title'] == 'List of beneficiary students')
                                                            @foreach($data_year as $year)
                                                            <ul class="fs--1 pt-2">
                                                                <li class="pt-1"><a class = "color-1 fw-600" href="{{$year['url'] ?? ''}}" target="_blank">{{$year['no'] ?? '' }}&nbsp;&nbsp;{{$year['title']}}</a></li>
                                                            </ul>
                                                            @endforeach
                                                        @endif
                                                        @if($data['title'] == 'Sanction letters')
                                                            @foreach($data_year2 as $year)
                                                            <ul class="fs--1 pt-2">
                                                                <li class="pt-1"><a class = "color-1 fw-600" href="{{$year['url'] ?? ''}}" target="_blank">{{$year['no'] ?? '' }}&nbsp;&nbsp;{{$year['title']}}</a></li>
                                                            </ul>
                                                            @endforeach
                                                        @endif
                                                        @if($data['title'] == 'Policy documents')
                                                            @foreach($data_year3 as $year)
                                                            <ul class="fs--1 pt-2">
                                                                <li class="pt-1"><a class = "color-1 fw-600" href="{{$year['url'] ?? ''}}" target="_blank">{{$year['no'] ?? '' }}&nbsp;&nbsp;{{$year['title']}}</a></li>
                                                            </ul>
                                                            @endforeach
                                                        @endif
                                                    </li>
                                                @endforeach
                                            @endif
                                            @if($item['no'] == '5.1.2')
                                                @foreach($data2 as $data)
                                                    <li class="pt-2">
                                                        <a class="pl-2" href="{{$data['url'] ?? ''}}" target="_blank"><span
                                                                class="color-primary">{{$data['no'] ?? '' }}&nbsp;&nbsp; {{$data['title'] ?? ''}}</a>
                                                                @if($data['title'] == 'Report on activities to enhance soft skill, language and communication skill and life skill')
                                                                @foreach($data_year4 as $year)
                                                                <ul class="fs--1 pt-2">
                                                                    <li class="pt-1"><a class = "color-1 fw-600" href="{{$year['url'] ?? ''}}" target="_blank">{{$year['no'] ?? '' }}&nbsp;&nbsp;{{$year['title']}}</a></li>
                                                                </ul>
                                                                @endforeach
                                                            @endif
                                                                @if($data['title'] == 'Report on ICT/computing skill enhancement activity')
                                                                @foreach($data_year5 as $year)
                                                                <ul class="fs--1 pt-2">
                                                                    <li class="pt-1"><a class = "color-1 fw-600" href="{{$year['url'] ?? ''}}" target="_blank">{{$year['no'] ?? '' }}&nbsp;&nbsp;{{$year['title']}}</a></li>
                                                                </ul>
                                                                @endforeach
                                                            @endif
                                                    </li>
                                                @endforeach
                                            @endif
                                            @if($item['no'] == '5.1.3')
                                                @foreach($data3 as $data)
                                                    <li class="pt-2">
                                                        <a class="pl-2" href="{{$data['url'] ?? ''}}" target="_blank"><span
                                                                class="color-primary">{{$data['no'] ?? '' }}&nbsp;&nbsp; {{$data['title'] ?? ''}}</a>
                                                                @if($data['title'] == 'Report of the guidance activities')
                                                                @foreach($data_year6 as $year)
                                                                <ul class="fs--1 pt-2">
                                                                    <li class="pt-1"><a class = "color-1 fw-600" href="{{$year['url'] ?? ''}}" target="_blank">{{$year['no'] ?? '' }}&nbsp;&nbsp;{{$year['title']}}</a></li>
                                                                </ul>
                                                                @endforeach
                                                            @endif
                                                    </li>
                                                @endforeach
                                            @endif
                                            @if($item['no'] == '5.1.4')
                                                @foreach($data4 as $data)
                                                    <li class="pt-2">
                                                        <a class="pl-2" href="{{$data['url'] ?? ''}}" target="_blank"><span
                                                                class="color-primary">{{$data['no'] ?? '' }}&nbsp;&nbsp; {{$data['title'] ?? ''}}</a>
                                                                @if($data['title'] == 'Number of full time teachers year wise in last five years')
                                                                @foreach($data_year2 as $year)
                                                                <ul class="fs--1 pt-2">
                                                                    <li class="pt-1"><a class = "color-1 fw-600" href="{{$year['url'] ?? ''}}" target="_blank">{{$year['title']}}</a></li>
                                                                </ul>
                                                                @endforeach
                                                            @endif
                                                    </li>
                                                @endforeach
                                            @endif
                                        </ul>      
                                </td>
                            </tr>
                            @endforeach
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </section>
@endsection
