@extends('backEnd.master') @section('title') @lang('transport.transport') @endsection @section('mainContent')

@lang('transport.transport_route_list')

@lang('student.student_name')
{{$student_detail->first_name.' '.$student_detail->last_name}}
@lang('student.admission_no')
{{$student_detail->admission_no}}
@lang('student.class')
@if($student_detail->defaultClass!="") {{@$student_detail->defaultClass->class->class_name}} {{-- ({{@$academic_year->year}}) --}} @elseif ($student_detail->studentRecord !="") {{@$student_detail->studentRecord->class->class_name}} @endif
@lang('student.section')
@if($student_detail->defaultClass!="") {{@$student_detail->defaultClass->section->section_name}} @elseif ($student_detail->studentRecord !="") {{@$student_detail->studentRecord->section->section_name}} @endif
@lang('common.gender')
{{$student_detail->gender !=""?$student_detail->gender->base_setup_name:""}}
@if (moduleStatusCheck('BehaviourRecords'))
@lang('behaviourRecords.behaviour_records_point')
@php $totalBehaviourPoints = 0; if (@$studentBehaviourRecords) { foreach ($studentBehaviourRecords as $studentBehaviourRecord) { $totalBehaviourPoints += $studentBehaviourRecord->point; } } @endphp {{ $totalBehaviourPoints }}
@endif
@foreach($routes as $route) @endforeach
@lang('transport.route') @lang('transport.vehicle') @lang('common.action')
{{@$route->route->title}} @php @$vehicles = explode(",",@$route->vehicle_id); @endphp @foreach($vehicles as $vehicle) @php @$vehicle = App\SmVehicle::find(@$vehicle); @endphp {{@$vehicle->vehicle_no}} @endforeach @lang('common.view')
@endsection @include('backEnd.partials.data_table_js')