My Program
@php $stages = @$stages; @endphp @if(!empty($user->portfolio->as_order_key)) @if($user->j1_status_id == 6009)Welcome! {{ @$user_name }},
Your application status become program completed.
@php
if(!empty($stages)){
$total_stages = count($stages);
$stage_count = 1;
$stage_no = array_key_first($stages);
$as_order_key = $user->portfolio->as_order_key;
$stage_key = $as_order_key[0];
foreach($stages as $key => $stage)
{
$is_active = '';
$is_current = '';
if($key==$stage_key || $key < $stage_key)
{
$is_active = "active";
}
if($key==$stage_key)
{
$is_current = "is_current";
}
@endphp
@php
$stage_count++;
$stage_no++;
}
}
@endphp
{{ $stage_count }}/{{ $total_stages }}
{{ $stage['stage_title'] }}