@extends('student-panel.partials.master') @section('title') {{ ___('settings.Subject List') }} @endsection @section('content')

{{___('settings.subject_list')}}

@if($subjectTeacher) @foreach ($subjectTeacher->subjectTeacher as $key => $row) @endforeach @else @endif
{{ ___('common.sr_no') }} {{ ___('common.name') }} {{ ___('academic.code') }} {{ ___('academic.type') }} {{ ___('academic.teacher') }}
{{ ++$key }} {{ $row->subject->name }} {{ $row->subject->code }} @if ($row->subject->type == App\Enums\SubjectType::THEORY) {{ ___('academic.theory') }} @elseif ($row->subject->type == App\Enums\SubjectType::PRACTICAL) {{ ___('academic.practical') }} @endif {{ $row->teacher->first_name }} {{ $row->teacher->last_name }}
{{ $row->teacher->email }}

{{ ___('common.No data available') }}

{{ ___('common.Please add new entity regarding this table') }}

@endsection