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