@extends('backend.admin.index') @section('body')
@include('layouts.message')
Student Name
Status
@foreach($applications as $key=>$application) @php $record = $application->student; @endphp @endforeach
SN Student Name Address Parent Name Mobile Preferred School Status Action
{{++$key}} {{$record->first_name}} {{$record->middle_name}} {{$record->last_name}} {{$record->current_address}} {{$record->parent_name}} {{$record->father_contact}} @if(isset($application->client->company_name)) {{$application->client->company_name}} @else NA @endif {{----}} {{--@if($record->status=='approved')--}} {{----}} {{--@else--}} {{----}} {{--@endif--}}
{{$applications->withQueryString()}}
@endsection