Compare commits
3 Commits
1a9cdae6e2
...
ceef0fe966
Author | SHA1 | Date |
---|---|---|
aslan | ceef0fe966 | |
ROMANGOLIENKO | 22e6a16c32 | |
ROMANGOLIENKO | dd8db9dc4b |
|
@ -4,6 +4,7 @@ namespace App\Services;
|
|||
|
||||
use Illuminate\Support\Facades\URL;
|
||||
|
||||
// phpcs:disable
|
||||
class DirectonHtmlBuilder
|
||||
{
|
||||
private array $direction;
|
||||
|
@ -27,7 +28,7 @@ class DirectonHtmlBuilder
|
|||
}
|
||||
$education_form = substr($education_form, 0, -2);
|
||||
|
||||
// phpcs:disable
|
||||
|
||||
$period = '<br>';
|
||||
foreach ($direction['period'] as $key => $el) {
|
||||
$period .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
|
@ -47,6 +48,8 @@ class DirectonHtmlBuilder
|
|||
$paid_cost .= '</div></div>';
|
||||
|
||||
|
||||
|
||||
|
||||
$EGE = '<div class="col-auto ">
|
||||
<strong> ЕГЭ </strong>
|
||||
<br>
|
||||
|
@ -87,12 +90,13 @@ class DirectonHtmlBuilder
|
|||
}
|
||||
|
||||
|
||||
|
||||
$mgtu = '';
|
||||
if (array_key_exists('МГТУ', $direction['budget_places'])) {
|
||||
foreach ($direction['budget_places']['МГТУ'] as $profile_name => $profile) {
|
||||
$profile_content = '';
|
||||
foreach ($profile as $forms => $budget_places) {
|
||||
$profile_content .= "<strong> {$forms} </strong> - " . "<span style='font-family: Geologica-ExtraLight'> {$budget_places} </span><br>";
|
||||
$profile_content .= "<strong> {$forms} </strong> - " . "<span style=\'font-family: Geologica-ExtraLight\'> {$budget_places} </span><br>";
|
||||
}
|
||||
$tmp = str_replace(' ', '', $profile_name);
|
||||
$tmp = str_replace(',', '', $tmp);
|
||||
|
@ -118,6 +122,9 @@ class DirectonHtmlBuilder
|
|||
// dd($direction);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$filial = '';
|
||||
if (array_key_exists('Филиал МГТУ (пос. Яблоновский)', $direction['budget_places'])) {
|
||||
foreach ($direction['budget_places']['Филиал МГТУ (пос. Яблоновский)'] as $profile_name => $profile) {
|
||||
|
|
Loading…
Reference in New Issue