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

113 lines
4.4 KiB
PHP
Raw Normal View History

2024-02-26 14:20:16 +03:00
@php
use App\Models\Subject;
use App\Models\EducationForm;
@endphp
2024-02-12 15:02:31 +03:00
@extends('layouts.admin_layout')
2024-02-10 11:23:38 +03:00
@section('content')
@auth()
<h6>
<a href="{{ route('educational_institutions.show', $educationalInstitution) }}">
2024-02-10 11:23:38 +03:00
{{ $educationalInstitution->name }}
</a>
->
<a href="{{ route('faculties.show', $faculty) }}">{{ $faculty->name }}</a>
->
2024-02-19 11:00:44 +03:00
<a href="{{ route('departments.show', $department) }}">{{ $department->name }}</a>
2024-02-10 11:23:38 +03:00
-> {{ $direction->name }}
</h6>
<div class="container mt-4">
2024-02-26 14:20:16 +03:00
<h2>Название направления подготовки</h2>
2024-02-26 14:21:23 +03:00
<p>{{ $direction->code }} {{ $direction->name }}</p>
2024-02-14 16:16:44 +03:00
<h2>Уровень Образования</h2>
2024-02-26 14:20:16 +03:00
<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>
@foreach($budget as $education_form_id => $amount)
@php
$educationForm = (new EducationForm())->find($education_form_id);
@endphp
<p>{{ $educationForm->name }} - {{ $amount }}</p>
@endforeach
<h2>
Количество мест по договорам об оказании платных обр. услуг
</h2>
@foreach($paid as $education_form_id => $amount)
@php
$educationForm = (new EducationForm())->find($education_form_id);
@endphp
<p>{{ $educationForm->name }} - {{ $amount }}</p>
@endforeach
<h2>
стоимость обучения
</h2>
@foreach($costs as $education_form_id => $cost)
@php
$educationForm = (new EducationForm())->find($education_form_id);
@endphp
<p>{{ $educationForm->name }} - {{ $cost }}</p>
@endforeach
<h2>Профили подготовки</h2>
@foreach($direction->directionProfiles as $profile)
<p>{{ $profile->name }}</p>
@endforeach
<h2>Профили подготовки</h2>
@foreach($direction->periods as $period)
@php
$educationForm = (new EducationForm())->find($period->education_form_id);
@endphp
<p>{{ $educationForm->name }} - {{ $period->period }}</p>
@endforeach
2024-02-10 11:23:38 +03:00
</div>
@endauth
@endsection