@extends('layouts.app') @section('content')
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Students').' / '.trans('Student '.(school('country')->code == 'SG' ? 'Branch' : 'House')) .' / '. trans('Show').'']) @component('components.sectionbar.house-bar')@endcomponent
@if (count($house->studentInfo)>0)
@foreach ($house->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 '.$house->name.' '.(school('country')->code == 'SG' ? 'Branch' : 'Houses'))
@endif
@endsection