@php
$isHtml = request()->query('view') === 'html';
$companyEmail = $company->companie_email ?? 'info@azora-sys.com';
$companyWebsite = $company->website ?? 'https://www.azora-sys.com';
$companyWebsiteText = str_replace(['https://', 'http://'], '', $companyWebsite);
$companyAddress = collect([
$company->country->currentTranslation->name ?? ($company->country->name ?? null),
$company->city->currentTranslation->name ?? ($company->city->name ?? null),
$company->area->currentTranslation->name ?? ($company->area->name ?? null),
])->filter()->implode(' - ') ?: null;
@endphp
@if($isHtml)
@if($companyAddress)
|
📍
{{ $companyAddress }}
|
@endif
|
|
|
@else
@if($companyAddress)
|
📍
{{ $companyAddress }}
|
@endif
|
|
|
@endif