@php $translations = []; $userInfo = $user?->userable; if ($userInfo) { $translations = parse_translation($userInfo); } $countryTranslations = parse_translation($userInfo?->country); $stateTranslations = parse_translation($userInfo?->state); $cityTranslations = parse_translation($userInfo?->city); @endphp
{{ translate('Basic Information') }}
@if ($user->guard == 'organization')
{{ translate('Organization Name') }}: {{ $translations['name'] ?? $userInfo?->name }}
@else
{{ translate('Full Name') }}: {{ ($translations['first_name'] ?? $userInfo?->first_name) . ' ' . ($translations['last_name'] ?? $userInfo?->last_name) }}
@endif
{{ translate('Biography') }}
{{ translate('Bio') }}: {!! clean($translations['about'] ?? $userInfo?->about) !!}
{{ translate('Address') }}
{{ translate('Country') }} : {{ $countryTranslations['name'] ?? $userInfo?->country?->name }}
{{ translate('State') }} {{ $stateTranslations['name'] ?? $userInfo?->state?->name }}
{{ translate('City') }} : {{ $cityTranslations['name'] ?? $userInfo?->city?->name }}
@if ($userInfo?->location)
{{ translate('Address') }} : {{ $translations['location'] ?? $userInfo?->location }}
@endif
@if (isset($user->educations) && $user->educations->count() > 0)
{{ translate('Education') }}
@foreach ($user->educations as $education) @endforeach
{{ translate('Institute') }} {{ translate('Achievement') }} {{ translate('Department') }} {{ translate('Passing Year') }}
{{ $education->name ?? '' }} {{ $education?->pivot?->degree ?? '' }} {{ $education?->pivot?->department ?? '' }} "{{ $education?->pivot?->passing_year ?? '' }}
@endif @if (isset($user->experiences) && $user->experiences->count() > 0)
{{ translate('Experience') }}
@foreach ($user->experiences as $experience) @endforeach
{{ translate('Company') }} {{ translate('Role') }} {{ translate('Start Date') }} {{ translate('End Date') }}
{{ $experience->name ?? '' }} {{ $experience?->pivot?->designation ?? '' }} {{ $experience?->pivot?->start_date ?? '' }} {{ $experience?->pivot?->end_date ? $experience?->pivot?->end_date : translate('Currently Working') }}
@endif