From c2616e87136918ed076eb14008c6f6eabc42409d Mon Sep 17 00:00:00 2001 From: ROMANGOLIENKO Date: Mon, 18 Mar 2024 12:24:44 +0300 Subject: [PATCH 1/3] adding to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 2749dec..71ff04d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ yarn-error.log /_ide_helper.php /_ide_helper_models.php /public/img/icons/play-button.png +/tabit.sql From f93404d996c931de113f4b0138f6f10c1c25c0fd Mon Sep 17 00:00:00 2001 From: ROMANGOLIENKO Date: Mon, 18 Mar 2024 12:24:44 +0300 Subject: [PATCH 2/3] adding to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 2749dec..71ff04d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ yarn-error.log /_ide_helper.php /_ide_helper_models.php /public/img/icons/play-button.png +/tabit.sql From 116c949f458023f3e994b58fc6310f722a68a891 Mon Sep 17 00:00:00 2001 From: ROMANGOLIENKO Date: Mon, 18 Mar 2024 13:03:50 +0300 Subject: [PATCH 3/3] fixing directions --- app/Services/DirectonHtmlBuilder.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Services/DirectonHtmlBuilder.php b/app/Services/DirectonHtmlBuilder.php index 4774833..52bd960 100644 --- a/app/Services/DirectonHtmlBuilder.php +++ b/app/Services/DirectonHtmlBuilder.php @@ -60,13 +60,16 @@ class DirectonHtmlBuilder //exit(); if (array_key_exists('educationalInstitution', $direction)) { foreach ($direction['educationalInstitution'] as $educationalInstitution_name => $educationalInstitution) { - $profile_out = '
'; + $profiles .= "

{$educationalInstitution_name}

"; foreach ($educationalInstitution as $profile_name => $profile) { + $profile_out = '
'; foreach ($profile as $key => $value) { $profile_out .= "{$key} - {$value['budget_places']}
"; } $tmp = str_replace(' ', '', $profile_name); + $tmp = str_replace(',', '', $tmp); +// $print_r = '
' . print_r($direction,1) . '
';
                     $profiles .= "
                                   
@@ -78,6 +81,9 @@ class DirectonHtmlBuilder
$profile_out + + +