@php $progressSteps = [ 1 => [ 'lang' => 'public.basic_information', 'icon' => 'basic-info' ], 2 => [ 'lang' => 'public.images', 'icon' => 'images' ], 3 => [ 'lang' => 'public.about', 'icon' => 'about' ], 4 => [ 'lang' => 'public.educations', 'icon' => 'graduate' ], 5 => [ 'lang' => 'public.experiences', 'icon' => 'experiences' ], 6 => [ 'lang' => 'public.occupations', 'icon' => 'skills' ], 7 => [ 'lang' => 'public.identity_and_financial', 'icon' => 'financial' ] ]; if(!$user->isUser()) { $progressSteps[8] =[ 'lang' => 'public.zoom_api', 'icon' => 'zoom' ]; $progressSteps[9] =[ 'lang' => 'public.extra_information', 'icon' => 'extra_info' ]; } else { $progressSteps[8] =[ 'lang' => 'public.extra_information', 'icon' => 'extra_info' ]; } $currentStep = empty($currentStep) ? 1 : $currentStep; @endphp