@if($data && (isset($data['taught']) || isset($data['willing_to_teach']))) @if(isset($data['taught']) && $data['taught']->count() > 0)
Subjects Taught
@foreach($data['taught'] as $index => $subject) @endforeach
S.No. Course Name Course Code Level Type Credits Description
{{ $index + 1 }} {{ $subject->course_name ?? 'N/A' }} {{ $subject->course_code ?? 'N/A' }} {{ $subject->level_label ?? ucfirst($subject->level ?? 'N/A') }} {{ $subject->type_label ?? ucfirst($subject->type ?? 'N/A') }} {{ $subject->credits ?? 'N/A' }} {{ $subject->course_description ?? 'N/A' }}
@endif @if(isset($data['willing_to_teach']) && $data['willing_to_teach']->count() > 0)
Subjects Willing to Teach
@foreach($data['willing_to_teach'] as $index => $subject) @endforeach
S.No. Course Name Course Code Level Type Credits Description
{{ $index + 1 }} {{ $subject->course_name ?? 'N/A' }} {{ $subject->course_code ?? 'N/A' }} {{ $subject->level_label ?? ucfirst($subject->level ?? 'N/A') }} {{ $subject->type_label ?? ucfirst($subject->type ?? 'N/A') }} {{ $subject->credits ?? 'N/A' }} {{ $subject->course_description ?? 'N/A' }}
@endif @else
No subjects information available
@endif