@php
$badgeHtml = null;
if (!is_null(auth()->user()->primary_profile) && (int)auth()->user()->approved === 0 && (int)auth()->user()->paid === 1) {
$badgeHtml = ' Verification Pending — View Status';
} elseif (!is_null(auth()->user()->primary_profile) && (int)auth()->user()->approved === -1 && (int)auth()->user()->paid === 1) {
$badgeHtml = ' Resubmission Required — Click to proceed';
} elseif (!is_null(auth()->user()->primary_profile) && (int)auth()->user()->paid === 0) {
$badgeHtml = ' Payment Pending — Complete Payment';
} else {
$badgeHtml = 'Please setup your primary profile to join India taekwondo.';
}
@endphp
@include('user.partials.profile_header', ['title' => 'Primary Profile Setup', 'badge' => $badgeHtml])
@auth
@endauth
@include('user.profile_setup_data.wizard_step_1')
@include('user.profile_setup_data.wizard_step_2')
@include('user.profile_setup_data.wizard_step_3')
@include('user.profile_setup_data.wizard_step_4')
@include('user.profile_setup_data.wizard_step_5')