@php $placed_data = @$step_verified_data['placed_data']; $booked_data = @$step_verified_data['booked_data']; $pay_rate_basis = config('common.pay_rate_basis'); $program_enroll = @$step_verified_data['program_enroll']; $j1_status_id = @$step_verified_data['j1_status_id']; $chk_agency = (!empty($portfolio->placement_agency_id) && $portfolio->placementAgency->checkAgencySync()) ? 'hide' : '' ; $is_multi_placement = @$step_verified_data['is_multi_placement']; @endphp

Placement Position

@if(empty($step_status) && empty($placed_data))

This step is disable until user will reach to step.

@else @if(!empty($portfolio->placement_agency_id) && $portfolio->placementAgency->checkAgencySync()) @if($is_multi_placement == true)
@foreach($placed_data as $item) @php $is_active = (count($placed_data) == $item['pla_order'] && count($placed_data) > 1) ? " active " : ""; @endphp
@if($item['pla_type'] == 2)

Placement confirmed with {!! $item['emp_name'] !!}.

{{ __('application_term.employer') }}: {!! $item['emp_name'] !!}

{{ __('application_term.position') }}: {!! $item['pos_name'] !!}

@else

Interview taken with the {{ strtolower(__('application_term.employer')) }} {!! $item['emp_name'] !!}, we are waiting to hear back from this company to see if they confirmed EV for the available {{ strtolower(__('application_term.position')) }}.

{{ __('application_term.employer') }}: {!! $item['emp_name'] !!}

{{ __('application_term.position') }}: {!! $item['pos_name'] !!}

@endif
@endforeach @if(count($placed_data) == 1)

We are currently searching for a suitable {{ strtolower(__('application_term.position')) }} for your @if($portfolio->program_id) {{ @$portfolio->program->program_name }} @endif program. This step can take some time so please be patient, you will receive an update on your email.

@endif
@else
@if(!empty($placed_data)) @if($placed_data[0]['pla_type'] == 2)

Placement confirmed with {!! $placed_data[0]['emp_name'] !!}.

{{ __('application_term.employer') }}: {!! $placed_data[0]['emp_name'] !!}

{{ __('application_term.position') }}: {!! $placed_data[0]['pos_name'] !!}

@else

Interview taken with the {{ strtolower(__('application_term.employer')) }} {!! $placed_data[0]['emp_name'] !!}, we are waiting to hear back from this company to see if they confirmed EV for the available {{ strtolower(__('application_term.position')) }}.

{{ __('application_term.employer') }}: {!! $placed_data[0]['emp_name'] !!}

{{ __('application_term.position') }}: {!! $placed_data[0]['pos_name'] !!}

@endif @endif
@endif @else @if(!empty($booked_data))

@if(!empty($portfolio->placement_agency_id) && $portfolio->placementAgency->checkAgencySync()) @foreach($booked_data as $bd) @endforeach @else @endif
Position Name Host Company Name Stipend Type Start Date End Date Booked Date Action
{!!$bd['pos_name']!!} {!!$bd['emp_name']!!} {{$bd['salary']}} / {{$pay_rate_basis[$bd['pay_rate_basis']]}} {{$bd['pla_type'] == 1 ? "Booked" : "Placed"}} {{dateformat($bd['user_pos_start_date'],DISPLAY_DATE)}} {{dateformat($bd['user_pos_end_date'],DISPLAY_DATE)}} {{dateformat($bd['booked_date'],DISPLAY_DATETIME)}} -
{{$booked_data->position->pos_name}} {{$booked_data->hostCompany->hc_name}} {{$booked_data->salary}} / {{$pay_rate_basis[$booked_data->pay_rate_basis]}} {{$booked_data->type == 1 ? "Booked" : "Placed"}} {{dateformat($booked_data->start_date,DISPLAY_DATE)}} {{dateformat($booked_data->end_date,DISPLAY_DATE)}} {{dateformat($booked_data->booked_date,DISPLAY_DATETIME)}}
@endif @if(!empty($placed_data) && count($placed_data) > 0)
@if(empty($portfolio->placement_agency_id)) @if(count($placed_data) == 1 && empty($program_enroll) && get_date_diff($placed_data[0]->start_date,$placed_data[0]->end_date,'%m') <= 8 && $j1_status_id == '2005') @endif @endif

@if(!empty($portfolio->placement_agency_id) && $portfolio->placementAgency->checkAgencySync()) @foreach($placed_data as $bd) @endforeach @else @foreach($placed_data as $pd) @if(count($placed_data) == 1 && empty($program_enroll)) @endif @endforeach @endif
Position Name Host Company Name Placement Order Stipend Type Start Date End Date Placed Date
{!!$bd['pos_name']!!} {!!$bd['emp_name']!!} {{$bd['pla_order']}} {{$bd['salary']}} / {{$pay_rate_basis[$bd['pay_rate_basis']]}} {{$bd['pla_type'] == 1 ? "Booked" : "Placed"}} {{dateformat($bd['user_pos_start_date'],DISPLAY_DATE)}} {{dateformat($bd['user_pos_end_date'],DISPLAY_DATE)}} {{dateformat($bd['booked_date'],DISPLAY_DATETIME)}} -
{{$pd->position->pos_name}} {{$pd->hostCompany->hc_name}} {{$pd->pla_order}} {{$pd->salary}} / {{$pay_rate_basis[$pd->pay_rate_basis]}} {{$pd->type == 1 ? "Booked" : "Placed"}} {{dateformat($pd->start_date,DISPLAY_DATE)}} {{dateformat($pd->end_date,DISPLAY_DATE)}} {{(!empty($pd->placed_date)) ? dateformat($pd->placed_date,DISPLAY_DATETIME) : '-' }}
@endif @endif @endif