@php
use App\Models\Subject;
use App\Models\EducationForm;
@endphp
@extends('layouts.admin_layout')
@section('content')
@auth()
Название направления подготовки
{{ $direction->name }}
Уровень Образования
{{ $direction->educationLevel->name }}
Форма обучения
{{ $direction->educationForm->name }}
@if(count($ege) !== 0)
Вступительные испытания по ЕГЭ (Минимальное количество баллов)
@foreach($ege as $subject_id => $scores)
@php
$subject = (new Subject())->find($subject_id);
@endphp
{{ $subject->name }} - {{ $scores }}
@endforeach
@endif
@if(count($spo) !== 0)
Профильные вступительные испытания, проводимые в МГТУ для поступающих на базе СПО
@foreach($spo as $subject_id => $scores)
@php
$subject = (new Subject())->find($subject_id);
@endphp
{{ $subject->name }} - {{ $scores }}
@endforeach
@endif
@if(count($magistracy) !== 0)
Вступительные испытания для Магистратуры
@foreach($spo as $subject_id => $scores)
@php
$subject = (new Subject())->find($subject_id);
@endphp
{{ $subject->name }} - {{ $scores }}
@endforeach
@endif
Количество бюджетных мест
@foreach($budget as $education_form_id => $amount)
@php
$educationForm = (new EducationForm())->find($education_form_id);
@endphp
{{ $educationForm->name }} - {{ $amount }}
@endforeach
Количество мест по договорам об оказании платных обр. услуг
@foreach($paid as $education_form_id => $amount)
@php
$educationForm = (new EducationForm())->find($education_form_id);
@endphp
{{ $educationForm->name }} - {{ $amount }}
@endforeach
стоимость обучения
@foreach($costs as $education_form_id => $cost)
@php
$educationForm = (new EducationForm())->find($education_form_id);
@endphp
{{ $educationForm->name }} - {{ $cost }}
@endforeach
Профили подготовки
@foreach($direction->directionProfiles as $profile)
{{ $profile->name }}
@endforeach
Профили подготовки
@foreach($direction->periods as $period)
@php
$educationForm = (new EducationForm())->find($period->education_form_id);
@endphp
{{ $educationForm->name }} - {{ $period->period }}
@endforeach
@endauth
@endsection