@extends('layouts.app') @section('content')
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Students').' / '.trans('Student ').(school('country')->code == 'SG' ? 'Race' : 'Categories') .' / '. trans('Show').'']) @component('components.sectionbar.category-bar')@endcomponent
@if (count($category->studentInfo)>0)
@foreach ($category->studentInfo as $key=>$student_info) @endforeach
# @lang('Student Code') @lang('Name') @lang('Roll') @lang('Class') @lang('Section')
{{ $key + 1 }} {{$student_info->student->student_code}} {{$student_info->student->name}} {{$student_info->class_roll}} {{$student_info->student->section->class->name}} {{$student_info->student->section->section_number}}
@else
@lang('No student found in '.$category->name.' '.(school('country')->code == 'SG' ? 'Race' : 'Category'))
@endif
@endsection