@extends('parent-panel.partials.master') @section('title') {{ ___('common.Subject List') }} @endsection @section('content')
@csrf

{{ ___('common.Filtering') }}

@error('student')
{{ $message }}
@enderror

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

@if(@$data['subjectTeacher']) @forelse (@$data['subjectTeacher']->subjectTeacher as $key => $row) @empty @endforelse @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