@extends('layouts.admissions') @section('content')
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('status'))
{{ session('status') }}
@endif
{{csrf_field()}}

@if(!empty($status)){{$status}} @endif

@if(isset($students))
{{-- --}} {{-- --}} @foreach($students as $c) {{-- --}} {{-- --}} @endforeach()
Reg No First Name Middle Name Surname Gender DOB County Country ID Number Mob No Postal Address Email Student TypeStay StatusCourse ClassSpecializationTown Campus KCSE Year KCSE Index No Sub County Constituency KCPE Year KCPE Index No
{{$c->reg_num}} {{$c->first_name }} {{$c->middle_name }} {{$c->last_name }} {{$c->gender}} 01/01/1970 {{-- county --}} {{-- country --}} {{$c->id_number}} {{$c->phone}} {{$c->address." " .$c->postal_code}} {{$c->email}} {{$c->category_name}}{{$c->course}} {{$c->calender . " ". $c->intake}}{{$c->town}} {{$c->campus}} {{$index[0]}} {{-- subcounty --}} {{-- const --}}
@else
Click Filter to view results
@endif
@stop