@if(auth()->check() && auth()->id() == $user->id) @php $checklistStatus = getUserProfileCompletionStatus($user); $checklistMissing = $checklistStatus['missing_items']; $checklistItems = $user->isFreelancer() ? ['speciality', 'bio', 'profile_image', 'skills', 'work'] : ['project']; $checklistRoutes = [ 'speciality' => route('user.profile'), 'bio' => route('user.profile'), 'profile_image' => route('user.profile'), 'skills' => route('user.profile'), 'work' => route('work.create'), 'project' => route('user.project.create'), ]; $checklistLabels = [ 'speciality' => __('missing_speciality'), 'bio' => __('missing_bio'), 'profile_image' => 'أضف صورة شخصية', 'skills' => __('missing_skills'), 'work' => __('missing_work'), 'project' => __('missing_project'), ]; $checklistComplete = empty($checklistMissing); @endphp @if(!$checklistComplete)
@if($user->isFreelancer()) لتتمكن من تقديم العروض وتحسين فرصك في الحصول على مشاريع، أكمل معلوماتك التالية @else ابدأ بنشر أول مشروع لك واستقبل عروض المستقلين @endif