@extends('layouts.master') @section('content')
@component('components.search_student', [ 'student_name' => $student_name ?? '', 'student_id_no' => request()->student_id_no ?? '', 'required' => '', ]) @endcomponent
{{ generateDropdown($shifts, 'class="form-control shift" id="shift" name="shift"', request()->query('shift'), "Shift") }}
{{ generateDropdown($groups, 'class="form-control group" id="group" name="group"', request()->query('group'), "Group") }}
{{ generateDropdown($studentClasses, 'class="form-control student_class select2" id="student_class" name="student_class"', request()->query('student_class'), "Class") }}
{{ generateDropdown([], 'class="form-control section" id="section" name="section"', request()->query('section'), "Section") }}
Student List @if ($students) (Total Student : {{ $students ? $students->total() : 'N/A' }}) @endif
Add New
@if ($students) @php // $sn = paginationStartNumber($students); @endphp @foreach ($students as $student) @endforeach @endif
ID No Image Name Class Roll Section Shift Branch Actions
{{ $student->student_id_no }} @php $student_image = $student->profile_image ? $student->profile_image : 'uploads/student/graduated_student.png'; @endphp {{ $student->first_name." ".$student->last_name }} {{ $student->studentClass?->class_name ?? "" }} {{ $student->class_roll ?? "" }} {{ $student->section?->section_name ?? "" }} {{ $student->shift?->shift_name ?? "" }} {{ $student->branch?->branch_name ?? "" }} View Edit Delete
{!! $students->links('pagination::bootstrap-4') !!}
@endsection @section('scripts') @endsection