@extends('layouts.header') @section('content')

InActive List

@csrf
@csrf
Student Details
@foreach ($students as $index => $student) @endforeach
# Student ID Student Name Age Date of Birth Gender Guardian Name Contact Phone Class Fees Status Student Image Action
{{ count($students) - $index }} {{ $student->id }} {{ $student->student_name }} {{ $student->student_age }} {{ \Carbon\Carbon::parse($student->date_of_birth)->format('d/m/Y') }} {{ $student->gender }} {{ $student->guardian_name }} {{ $student->contact_phone }} {{ $student->student_class }} ₹{{ number_format($student->school_fees, 2, '.', ',') }} @if (Auth::user()->role == 1)
@csrf @method('PATCH') designation ? 'checked' : '' }} data-onlabel="Active" data-offlabel="Inactive" onChange="this.form.submit();">
@else {{ $student->designation ? 'Active' : 'Inactive' }} @endif
Student Image
Edit
@csrf @method('DELETE')
@if (session('success'))
{{ session('success') }}
@endif
@endsection @push('scripts') @endpush