@extends('front.student.profile.master') @section('page-title')

{{ $student->name }}'s Subject List

@endsection @section('content')

Subject List

@php($sl=1) @php($sectionId = $studentClass->classInfo->section_id) @if($sectionId==1 or $sectionId==2) @foreach($classSubjects as $classSubject) @endforeach @else @foreach($classSubjects as $classSubject) @php($status = subjectCheck($student->id,$studentClass->class_id,$classSubject->subject_id)) @if($status===true) @endif @endforeach @endif
Sl Code Subject Name
{{ $sl++ }} {{ $classSubject->sub_code }} {{ $classSubject->subject->name }}
{{ $sl++ }} {{ $classSubject->sub_code }} {{ $classSubject->subject->name }}
@endsection