@lang('common.class_Sec') | @endif@lang('student.admission_no') | @lang('student.student_name') | @lang('common.mobile') | @lang('student.guardian_phone') | @lang('dormitory.dormitory_name') | @lang('dormitory.room_number') | @lang('dormitory.room_type') | @lang('dormitory.cost_per_bed') |
---|---|---|---|---|---|---|---|---|
@if(isset($class_id))
@php if(!empty($student->recordClass)){ echo $student->recordClass->class->class_name; }else { echo ''; } @endphp
@if(isset($section_id))
{{$student->recordSection != ""? $student->recordSection->section->section_name:""}}
@else
(@foreach ($student->recordClasses as $section)
{{$section->section->section_name}} {{ !$loop->last ? ', ':'' }}
@endforeach)
@endif
@else
@foreach ($student->studentRecords as $record)
{{__('common.class') }} : {{ $record->class->class_name}}({{ $record->section->section_name}}) {{ !$loop->last ? ', ':'' }} @endforeach @endif |
@endif
{{@$student->admission_no}} | {{@$student->full_name}} | {{@$student->mobile}} | {{@$student->parents->guardians_mobile}} | {{ @$student->dormitory != ""? @$student->dormitory->dormitory_name: ''}} | {{ @$student->room != ""? @$student->room->name: ''}} | {{ @$student->room != ""? @$student->room->roomType->type: ''}} | {{ @$student->room != ""? number_format( (float) @$student->room->cost_per_bed, 2, '.', ''): ''}} |