forked from aslan/applicant-site
prodV1 #2
|
@ -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>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue