@section('header', __('Company Info'))
@if ($company->employees && $company->employees->isNotEmpty()) @endif
{{ __('Code') }}: {{ $company->code ?? '' }}
{{ __('Vat number') }}: {{ $company->vat_number ?? '' }}
{{ __('Registration country name') }}: {{ $company->registrationCountry?->translations->first()?->name ?? '' }}
{{ __('Email') }}: {{ $company->email ?? '' }}
{{ __('Phone') }}: {{ $company->phone ?? '' }}
{{ __('Registration address') }}: {{ $company->translations->first()?->translations_name_1 ?? '' }}
{{ __('Correspondence address') }}: {{ $company->translations->first()?->translations_name_2 ?? '' }}
@foreach ($company->employees as $employee)

{{ $employee->name }} @if ($employee->jobTitle?->translations->first()?->name) ({{ $employee->jobTitle?->translations->first()->name }}) @endif

@foreach ($employee->contacts as $contact)

{{ $contact->contactType?->translations->first()?->name }}: {{ $contact->value }}

@endforeach
@endforeach