@extends('backEnd.master')
@section('title')
{{ __('student.delete_student_record') }}
@endsection
@section('mainContent')
@foreach ($studentRecords as $record)
@lang('student.admission_no')
@lang('student.roll_no')
@lang('student.name')
@lang('common.class_sec')
@if (generalSetting()->with_guardian)
@lang('student.father_name')
@endif
@lang('common.date_of_birth')
@lang('common.phone')
@lang('common.actions')
@endforeach
{{ $record->studentDetail->admission_no }}
{{ $record->roll_no ? $record->roll_no : '' }}
{{ $record->studentDetail->first_name . ' ' . $record->studentDetail->last_name }}
{{ $record->class != '' ? $record->class->class_name : '' }}
{{ $record->section ? '(' . $record->section->section_name . ')' : '' }}
@if (generalSetting()->with_guardian)
{{ $record->studentDetail->parents != '' ? $record->studentDetail->parents->fathers_name : '' }}
@endif
{{ $record->studentDetail->date_of_birth != '' ? dateConvert($record->studentDetail->date_of_birth) : '' }}
{{ $record->studentDetail->mobile }}
@php
$routeList = [' ' . __('common.restore') . '', userPermission('disable_student_delete') ? '' . __('common.delete forever') . '' : null];
@endphp