applicant-site/resources/views/admin/catalog/direction/show.blade.php

91 lines
3.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@php
use App\Models\Subject;
use App\Models\EducationForm;
@endphp
@extends('layouts.admin_layout')
@section('content')
@auth()
<h6>
<a href="{{ route('educational_institutions.show', $educationalInstitution) }}">
{{ $educationalInstitution->name }}
</a>
->
<a href="{{ route('faculties.show', $faculty) }}">{{ $faculty->name }}</a>
->
<a href="{{ route('departments.show', $department) }}">{{ $department->name }}</a>
-> {{ $direction->name }}
</h6>
<div class="container mt-4">
<h2>Название направления подготовки</h2>
<p>{{ $direction->code }} {{ $direction->name }}</p>
<h2>Уровень Образования</h2>
<p>
<a href="{{ route('education_levels.show', $direction->educationLevel) }}">{{ $direction->educationLevel->name }}</a>
</p>
<h2>Форма обучения</h2>
<p>
<a href="{{ route('education_forms.show', $direction->educationForm) }}">{{ $direction->educationForm->name }}</a>
</p>
@if(count($ege) !== 0)
<h2>
Вступительные испытания по ЕГЭ (Минимальное количество баллов)
</h2>
@foreach($ege as $subject_id => $scores)
@php
$subject = (new Subject())->find($subject_id);
@endphp
<p>{{ $subject->name }} - {{ $scores }}</p>
@endforeach
@endif
@if(count($spo) !== 0)
<h2>
Профильные вступительные испытания, проводимые в МГТУ для поступающих на базе СПО
</h2>
@foreach($spo as $subject_id => $scores)
@php
$subject = (new Subject())->find($subject_id);
@endphp
<p>{{ $subject->name }} - {{ $scores }}</p>
@endforeach
@endif
@if(count($magistracy) !== 0)
<h2>
Вступительные испытания для Магистратуры
</h2>
@foreach($spo as $subject_id => $scores)
@php
$subject = (new Subject())->find($subject_id);
@endphp
<p>{{ $subject->name }} - {{ $scores }}</p>
@endforeach
@endif
<h2>
Количество бюджетных мест
</h2>
{{ $direction->budget_places }}
<h2>
Количество мест по договорам об оказании платных обр. услуг
</h2>
{{ $direction->paid_places }}
<h2>
стоимость обучения
</h2>
{{ $direction->cost_paid_place }}
<h2>Профили подготовки</h2>
@foreach($direction->directionProfiles as $profile)
<p>{{ $profile->name }}</p>
@endforeach
<h2>Период Обучения</h2>
{{ $direction->period }}
</div>
@endauth
@endsection