@extends('layouts.portal') @section('content') @php $parseList = function ($value) { if (is_array($value)) return array_filter($value); if ($value === null || $value === '') return []; $decoded = json_decode($value, true); if (json_last_error() === JSON_ERROR_NONE && is_array($decoded)) { return array_filter($decoded); } return array_filter(array_map('trim', explode(',', $value))); }; $experiences = $profile ? $parseList($profile->experience) : ($counsellor ? $parseList($counsellor->experience) : []); $higherDegrees = $profile ? $parseList($profile->higher_degree) : []; $expertises = $profile ? $parseList($profile->expertise) : []; $skills = $profile ? $parseList($profile->skills) : ($counsellor ? $parseList($counsellor->skills) : []); $memberships = $profile ? $parseList($profile->membership_association) : []; $membershipCerts = $profile ? $parseList($profile->membership_certificate) : []; $languages = $profile ? $parseList($profile->languages) : ($counsellor ? $parseList($counsellor->languages) : []); $tenantName = $tenant ? $tenant->name : ($profile ? (trim(($profile->first_name ?? '') . ' ' . ($profile->last_name ?? ''))) : ($counsellor ? $counsellor->first_name : 'Our Practice')); $data = [ 'name' => $tenantName, 'title' => $profile->title ?? $counsellor->specialization ?? 'Counselor & Clinical Psychologist', 'bio' => $profile->bio ?? ($about->story ?? ''), 'life_quote' => $profile->life_quote ?? '', 'email' => $profile->contact_email ?? $profile->email ?? ($counsellor->email ?? ''), 'phone' => $profile->phone_number ?? $profile->contact_phone ?? ($counsellor->phone_number ?? ''), 'address' => $profile->office_address ?? $profile->address ?? ($counsellor->address ?? ''), 'country' => $profile->country ?? '', 'gender' => $profile->gender ?? '', 'skills' => $skills, 'languages' => $languages, 'experiences' => $experiences, 'experience_detail' => $profile->experience_detail ?? '', 'higher_degrees' => $higherDegrees, 'expertises' => $expertises, 'memberships' => $memberships, 'membership_certificates' => $membershipCerts, 'degree' => $profile->degree ?? '', 'university' => $profile->university ?? '', 'start_year' => $profile->education_start_year ?? '', 'end_year' => $profile->education_end_year ?? '', 'master_degree' => $profile->master_degree ?? '', 'master_university' => $profile->master_university ?? '', 'master_start_year' => $profile->master_start_year ?? '', 'master_end_year' => $profile->master_end_year ?? '', 'certificate_title' => $profile->certificate_title ?? '', 'certificate_file' => $profile->certificate_file ?? '', 'qualification' => $profile->qualification ?? '', 'achievements' => $profile->achievements ?? '', 'resume' => $profile->resume ?? '', 'gst_number' => $profile->gst_number ?? '', 'contact_person' => $profile->contact_person ?? '', 'contact_number' => $profile->contact_number ?? '', 'avatar_url' => $profile->avatar_url ?? $profile->profile_image ?? ($counsellor->profile_image ?? ''), ]; @endphp
"{{ $data['life_quote'] }}"
View or download the official CV / Resume document for verified professional qualifications.
๐ฅ Download / View Resume (PDF/DOCX)