forked from aslan/applicant-site
fixing directions
This commit is contained in:
parent
303f4e59a0
commit
4fc8a80a04
|
@ -60,13 +60,16 @@ class DirectonHtmlBuilder
|
|||
//exit();
|
||||
if (array_key_exists('educationalInstitution', $direction)) {
|
||||
foreach ($direction['educationalInstitution'] as $educationalInstitution_name => $educationalInstitution) {
|
||||
$profile_out = '<br>';
|
||||
|
||||
$profiles .= "<p> {$educationalInstitution_name}</p>";
|
||||
foreach ($educationalInstitution as $profile_name => $profile) {
|
||||
$profile_out = '<br>';
|
||||
foreach ($profile as $key => $value) {
|
||||
$profile_out .= "<span style='font-family: Geologica-ExtraLight'>{$key}</span> - <strong> {$value['budget_places']} </strong><br>";
|
||||
}
|
||||
$tmp = str_replace(' ', '', $profile_name);
|
||||
$tmp = str_replace(',', '', $tmp);
|
||||
// $print_r = '<pre>' . print_r($direction,1) . '<pre>';
|
||||
$profiles .= "
|
||||
<div class=\"accordion \" id=\"accordionPanelsStayOpenExample\">
|
||||
<div class=\"accordion-item\">
|
||||
|
@ -78,6 +81,9 @@ class DirectonHtmlBuilder
|
|||
<div id=\"panelsStayOpen-{$tmp}\" class=\"accordion-collapse collapse show\">
|
||||
<div class=\"accordion-body\">
|
||||
$profile_out
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue