@if(!empty($action)) @if($action == "navigate_stage") @php $active_stage = (!empty($active_stage))?@$active_stage:1; $active_step = (!empty($active_step))?@$active_step:1; $active_step_key = (!empty($active_step_key))?@$active_step_key:1; $step_list = @$step_list; $app_status_stages = @$app_status_stages; $sidebar_title = @$app_status_stages[$active_stage]['sidebar_title']; $tab_id = "stage_content"; $registration_fee = @$registration_fee; $invoice_sent_to = @$invoice_sent_to; if(config("common.portal") == "ODC"){ $company_name = config("common.portal"); }elseif(config("common.portal") == "ITN"){ $company_name = config("common.portal"); }else{ $company_name = config("app.name"); } @endphp
{!! $active_step_content !!}
@foreach($step_list as $step)
@php if($step->as_order_key == "1_registration_fee"){ if($step->user_step_status == 2){ $regi_step_desc = $step->as_desc_after; } elseif($step->user_step_status == 1){ $regi_step_desc = $step->as_desc_current; } else{ $regi_step_desc = $step->as_desc_before; } if($invoice_sent_to == 1) { $regi_step_desc = $registration_fee. ' '. $regi_step_desc; } else { $regi_step_desc = ltrim($regi_step_desc, 'USD/EUR'); } } @endphp @if($step->user_step_status == 2)
@if($active_stage!=4)
{{ $loop->iteration }}
@endif
@if($step->step_alert == 1) @endif

{{ $step->as_title }}

@if($step->as_order_key == "1_registration_fee") {!! $regi_step_desc !!} @elseif($step->as_order_key == "1_j1_interview") {!! str_replace('%branding%', $company_name, $step->as_desc_after) !!} @else {!! $step->as_desc_after !!} @endif
@elseif($step->user_step_status == 1)
@if($active_stage!=4)
{{ $loop->iteration }}
@endif
@if($step->step_alert == 1) @endif

{{ $step->as_title }}

@if($step->as_order_key == "1_registration_fee") {!! $regi_step_desc !!} @elseif($step->as_order_key == "1_resume_approval") {!! str_replace('%branding%', $company_name, $step->as_desc_current) !!} @elseif($step->as_order_key == "1_j1_interview") {!! str_replace('%branding%', $company_name, $step->as_desc_current) !!} @else {!! $step->as_desc_current !!} @endif
@else
@if($active_stage!=4)
{{ $loop->iteration }}
@endif

{{ $step->as_title }}

@if($step->as_order_key == "1_registration_fee") {!! $regi_step_desc !!} @elseif($step->as_order_key == "1_resume_approval") {!! str_replace('%branding%', $company_name, $step->as_desc_before) !!} @elseif($step->as_order_key == "1_j1_interview") {!! str_replace('%branding%', $company_name, $step->as_desc_before) !!} @else {!! $step->as_desc_before !!} @endif
@endif
@endforeach
@elseif($action == "navigate_step") @php $active_stage = (!empty($active_stage))?@$active_stage:1; $active_step = (!empty($active_step))?@$active_step:1; $current_stage = @$current_stage; $current_step = @$current_step; $active_step_key = @$request_step_data->as_order_key; $prev_step_key = @$request_step_data->prev_order_key; $next_step_key = @$request_step_data->next_order_key; $notify_id = "notify_{$active_stage}_{$active_step}"; $is_step_success = @$step_verified_data['is_step_success']; $step_title = @$step_verified_data['step_title']; $is_multi_placement = @$step_verified_data['is_multi_placement']; $as_step_views = config('common.as_step_views'); $step_view = $as_step_views[$active_step_key]; @endphp @include($step_view) @endif @endif