@php use App\Models\Direction; use App\Models\Department; use App\Models\EducationalInstitution;use App\Models\Faculty;use Illuminate\Support\Collection; /** @var Collection|Direction[] $direction */ $department = Department::find($direction->department->id); $faculty = Faculty::find($department->faculty->id); $educationalInstitution = EducationalInstitution::find($faculty->educationalInstitution->id); @endphp @extends('layouts.admin-layout') @section('content') @auth()
{{ $educationalInstitution->name }} -> {{ $faculty->name }} -> {{ $department->name }} -> {{ $direction->name }}

Название

{{ $direction->name }}

Описание

{{ $direction->description }}

Позиция

{{ $direction->position }}

Кафедра

{{ $department->name }}

@endauth @endsection