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 }}