@extends('backend.layouts.app') @section('content')
{{--
--}}
{{--
--}}
@if($students->isNotEmpty()) @foreach($students as $key => $student) @endforeach @endif
# Name User Name Phone School Name Grade Section Status Action
{{ ($key+1) + ($students->currentPage() - 1)*$students->perPage() }} {{ $student->name }} {{ $student->user_name }} {{ $student->phone }} {{ ($student->school != null) ? $student->school->name : 'N/A' }} {{ ($student->grade != null) ? $student->grade->name : 'N/A' }} {{ ($student->section != null) ? $student->section->name : 'N/A' }}
status ==1) checked @endif>
    {{ $students->appends(request()->input())->links() }}
@endsection @section('modal') @include('backend.modals.delete') @endsection @section('script') @endsection