diff --git a/app/Http/Controllers/admin/PageController.php b/app/Http/Controllers/admin/PageController.php
index 61afb69..899c6f9 100644
--- a/app/Http/Controllers/admin/PageController.php
+++ b/app/Http/Controllers/admin/PageController.php
@@ -146,8 +146,14 @@ class PageController extends Controller
$carry[$facultyName]['directions'][$directionName]['budget_places']
[$educationalInstitutionName][$directionProfileName][$educationFormName] = $directionBudgetPlaces;
- $carry[$facultyName]['directions'][$directionName]
- ['paid_places'][$educationFormName] = $directionPaidPlaces;
+
+ $carry[$facultyName]['directions'][$directionName]['paid_places']
+ [$educationalInstitutionName][$directionProfileName][$educationFormName] = $directionPaidPlaces;
+
+ /*$carry[$facultyName]['directions'][$directionName]
+ ['paid_places'][$educationFormName] = $directionPaidPlaces;*/
+
+
$carry[$facultyName]['directions'][$directionName]
['cost_paid_place'][$educationFormName] = $directionCostPaidPlace;
$carry[$facultyName]['directions'][$directionName]['period'][$educationFormName] = $directionPeriod;
diff --git a/app/Services/DirectonHtmlBuilder.php b/app/Services/DirectonHtmlBuilder.php
index 5021b7f..1e6c01f 100644
--- a/app/Services/DirectonHtmlBuilder.php
+++ b/app/Services/DirectonHtmlBuilder.php
@@ -19,6 +19,8 @@ class DirectonHtmlBuilder
$direction = $this->direction;
$fon_3 = URL::to('img/front-page/bakalavr-special/fon3_blok.png');
+ $green_circle = URL::to('img/front-page/green-circle.png');
+
$education_form = '';
foreach ($direction['education_form'] as $el) {
$education_form .= $el . ', ';
@@ -28,47 +30,85 @@ class DirectonHtmlBuilder
$period = '
';
foreach ($direction['period'] as $key => $el) {
- $period .= '' . $key . ' - ' . '' . $el .
- '
' ;
+ $period .= '' . $key . ' - ' . '' . $el . '
' ;
}
- $EGE = '
';
- foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
- $EGE .= '' . $key . ' - ' . '' . $el .
- '
' ;
- }
+
//dd($direction);
- $po_viboru = '
';
- if (array_key_exists('Предметы по выбору', $direction['entrance_examinations']['ЕГЭ'])) {
+
+ $paid_cost = '
{$direction['description']}
-{$direction['description']}
+Бюджет
+ +Коммерция
+