From 2b96ca557dfcd5b56c0e92eff72f96f88a1ad9ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Thu, 14 Mar 2024 06:30:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0?= =?UTF-8?q?=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/employers/cabinet45.blade.php | 4 ++-- resources/views/info_company_new.blade.php | 14 +++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/resources/views/employers/cabinet45.blade.php b/resources/views/employers/cabinet45.blade.php index d154bbf..981336a 100644 --- a/resources/views/employers/cabinet45.blade.php +++ b/resources/views/employers/cabinet45.blade.php @@ -14,7 +14,7 @@
- @if (isset($Employer[0]->logo)) + @if (!empty($Employer[0]->logo)) {{ $Employer[0]->name_company }} @else {{ $Employer[0]->name_company }} @@ -38,7 +38,7 @@
- @if (isset($Employer[0]->logo)) + @if (!empty($Employer[0]->logo)) {{ $Employer[0]->name_company }} @else {{ $Employer[0]->name_company }} diff --git a/resources/views/info_company_new.blade.php b/resources/views/info_company_new.blade.php index ac9363d..ef4f3c2 100644 --- a/resources/views/info_company_new.blade.php +++ b/resources/views/info_company_new.blade.php @@ -99,7 +99,12 @@
@endif - {{ $company[0]->name_company }} + @if (!empty($company[0]->logo)) + {{ $company[0]->name_company }} + @else + {{ $company[0]->name_company }} + @endif +

{{ $company[0]->name_company }}

{{ $company[0]->text }}

@@ -190,8 +195,11 @@ @foreach ($job->ad_job as $item)
- - {{ $job->name }} + @if (!empty($company[0]->logo)) + {{ $job->name }} + @else + {{ $job->name }} + @endif {{ $job->name }}
{{ $item->flot }}
-- 1.7.10.4