diff --git a/app/Http/Controllers/admin/PageController.php b/app/Http/Controllers/admin/PageController.php index c1f2af1..4e7cf65 100644 --- a/app/Http/Controllers/admin/PageController.php +++ b/app/Http/Controllers/admin/PageController.php @@ -23,6 +23,7 @@ class PageController extends Controller public function directions() { + $admissions = Admission::all(); $faculties = Faculty::all(); $subjects = EntranceExamination::all() ->select('subject_id', 'subject_type_id', 'examination_type_id') @@ -172,7 +173,8 @@ class PageController extends Controller 'faculties', 'subjects', 'directionsWithInstitution', - 'groupedDirections' + 'groupedDirections', + 'admissions', )); } diff --git a/app/Services/DirectonHtmlBuilder.php b/app/Services/DirectonHtmlBuilder.php index 784a4b1..23d26fa 100644 --- a/app/Services/DirectonHtmlBuilder.php +++ b/app/Services/DirectonHtmlBuilder.php @@ -100,7 +100,7 @@ class DirectonHtmlBuilder } $tmp = str_replace(' ', '', $profile_name); $tmp = str_replace(',', '', $tmp); - $mgtu .= "