This commit is contained in:
aslan 2024-03-15 16:15:42 +03:00
parent 5202545724
commit c13f5f38c2
1 changed files with 4 additions and 7 deletions

View File

@ -14,7 +14,6 @@ class DirectonHtmlBuilder
public function __construct($direction) public function __construct($direction)
{ {
$this->direction = $direction; $this->direction = $direction;
} }
public function getHTML() public function getHTML()
{ {
@ -37,7 +36,7 @@ class DirectonHtmlBuilder
// phpcs:disable
$budget_places_array = array(); $budget_places_array = array();
foreach ($direction['educationForms'] as $key => $educationForm) { foreach ($direction['educationForms'] as $key => $educationForm) {
@ -45,7 +44,6 @@ class DirectonHtmlBuilder
} }
$budget_places = '<br>'; $budget_places = '<br>';
foreach ($budget_places_array as $key => $item) { foreach ($budget_places_array as $key => $item) {
$budget_places .= "<span style='font-family: Geologica-ExtraLight'>$key</span> - <strong> $item </strong><br>"; $budget_places .= "<span style='font-family: Geologica-ExtraLight'>$key</span> - <strong> $item </strong><br>";
} }
@ -65,7 +63,6 @@ class DirectonHtmlBuilder
$profile_out = '<br>'; $profile_out = '<br>';
$profiles .= "<p> {$educationalInstitution_name}</p>"; $profiles .= "<p> {$educationalInstitution_name}</p>";
foreach ($educationalInstitution as $profile_name => $profile) { foreach ($educationalInstitution as $profile_name => $profile) {
foreach ($profile as $key => $value) { foreach ($profile as $key => $value) {
$profile_out .= "<span style='font-family: Geologica-ExtraLight'>{$key}</span> - <strong> {$value['budget_places']} </strong><br>"; $profile_out .= "<span style='font-family: Geologica-ExtraLight'>{$key}</span> - <strong> {$value['budget_places']} </strong><br>";
} }