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

Booked Position

@if(empty($step_status))

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($booked_data as $item) @php $is_active = (count($booked_data) == $item['pla_order'] && count($booked_data) > 1) ? " active " : ""; $emp_interview_data = @$item['emp_interview_data']; @endphp
@php if(!empty($emp_interview_data) && !empty($emp_interview_data->admin_timezone_name)){ date_default_timezone_set($emp_interview_data->admin_timezone_name); } $system_date = date('Y-m-d h:i'); @endphp
@if(!empty(@$emp_interview_data)) @if(strtotime($system_date) > strtotime(@$emp_interview_data['dest_datetime']))

Thank you for attending the interview with {{ __('application_term.employer') }}. We will update you shortly with the next step of your program.

@else @if(empty($emp_interview_data['interview_confirmed_user']))

Please see the details of your interview below.

Host Company Name: {!! @$item['emp_name'] !!}
@if ($dos_program_category_id != 3) Position Name: {!! @$item['pos_name'] !!}
@endif Interview Date/Time: {{ dateformat($emp_interview_data['dest_datetime'],DISPLAY_DATETIME) }}
Time Zone: {{ get_timezone_label($emp_interview_data['dest_timezone_id']) }}

@else @if($emp_interview_data['interview_confirmed_user'] == 1 && $emp_interview_data['interview_confirmed_emp'] == 1)

EV have been selected for an interview! Please see the details of your interview below.
Host Company Name: {!! @$item['emp_name'] !!}
@if ($dos_program_category_id != 3) Position Name: {!! @$item['pos_name'] !!}
@endif Interview Date/Time: {{ dateformat($emp_interview_data['dest_datetime'],'l M d, Y \a\t h:i A') }}
Time Zone: {{ get_timezone_label($emp_interview_data['dest_timezone_id']) }}

EV will be interviewing with the following ITN representative:
- Name: {{$emp_interview_data['interviewer']}}
- Title: {{$emp_interview_data['interviewer_title']}}

Meeting ID: {{$emp_interview_data['meeting_id']}}
Password: {{$emp_interview_data['meeting_password']}}

@elseif($emp_interview_data['interview_confirmed_user'] == 1 && $emp_interview_data['interview_confirmed_emp'] != 1)

We have recorded the scheduled meeting confirmation detail.

EV has been selected for an interview! Please see the details of your interview below.
Host Company Name: {!! @$item['emp_name'] !!}
@if ($dos_program_category_id != 3) Position Name: {!! @$item['pos_name'] !!}
@endif Interview Date/Time: {{ dateformat($emp_interview_data['dest_datetime'],'l M d, Y \a\t h:i A') }}
Time Zone: {{ get_timezone_label($emp_interview_data['dest_timezone_id']) }}

EV will be interviewing with the following ITN representative:
- Name: {{$emp_interview_data['interviewer']}}
- Title: {{$emp_interview_data['interviewer_title']}}

@endif @endif @endif @else
Once {{ __('application_term.employer') }} Interview will schedule then details of Intrerview will shown here.
@endif
@if(count($booked_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 @endforeach
@else @php $emp_interview_data = !empty($booked_data) ? @$booked_data[0]['emp_interview_data'] : ""; if(!empty($emp_interview_data) && !empty($emp_interview_data->admin_timezone_name)){ date_default_timezone_set($emp_interview_data->admin_timezone_name); } $system_date = date('Y-m-d h:i'); @endphp
@if(!empty($emp_interview_data)) @if(strtotime($system_date) > strtotime($emp_interview_data['dest_datetime']))

Thank you for attending the interview with {{ __('application_term.employer') }}. We will update you shortly with the next step of your program.

@else @if(empty($emp_interview_data['interview_confirmed_user']))

Please see the details of your interview below.

Host Company Name: {!! @$booked_data[0]['emp_name'] !!}
@if ($dos_program_category_id != 3) Position Name: {!! @$booked_data[0]['pos_name'] !!}
@endif Interview Date/Time: {{ dateformat($emp_interview_data['dest_datetime'],DISPLAY_DATETIME) }}
Time Zone: {{ get_timezone_label($emp_interview_data['dest_timezone_id']) }}

@else @if($emp_interview_data['interview_confirmed_user'] == 1 && $emp_interview_data['interview_confirmed_emp'] == 1)

EV have been selected for an interview! Please see the details of your interview below.
Host Company Name: {!! @$booked_data[0]['emp_name'] !!}
@if ($dos_program_category_id != 3) Position Name: {!! @$booked_data[0]['pos_name'] !!}
@endif Interview Date/Time: {{ dateformat($emp_interview_data['dest_datetime'],'l M d, Y \a\t h:i A') }}
Time Zone: {{ get_timezone_label($emp_interview_data['dest_timezone_id']) }}

EV will be interviewing with the following ITN representative:
- Name: {{$emp_interview_data['interviewer']}}
- Title: {{$emp_interview_data['interviewer_title']}}

Meeting ID: {{$emp_interview_data['meeting_id']}}
Password: {{$emp_interview_data['meeting_password']}}

@elseif($emp_interview_data['interview_confirmed_user'] == 1 && $emp_interview_data['interview_confirmed_emp'] != 1)

We have recorded the scheduled meeting confirmation detail.

EV has been selected for an interview! Please see the details of your interview below.
Host Company Name: {!! @$booked_data[0]['emp_name'] !!}
@if ($dos_program_category_id != 3) Position Name: {!! @$booked_data[0]['pos_name'] !!}
@endif Interview Date/Time: {{ dateformat($emp_interview_data['dest_datetime'],'l M d, Y \a\t h:i A') }}
Time Zone: {{ get_timezone_label($emp_interview_data['dest_timezone_id']) }}

EV will be interviewing with the following ITN representative:
- Name: {{$emp_interview_data['interviewer']}}
- Title: {{$emp_interview_data['interviewer_title']}}

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

A {{ __('application_term.employer') }} has shown interest in your resume and would like to book you for an interview.
- "Booking for Interview" doesn't mean you have secured a training position yet, you will need to pass the interview and demonstrate to the {{ __('application_term.employer') }} why you are the right person for the {{ __('application_term.position') }}.

  • {{ __('application_term.employer') }}: {!! @$booked_data[0]['emp_name'] !!}
  • {{ __('application_term.position') }}: {!! @$booked_data[0]['pos_name'] !!}
@if(!empty($emp_interview_data->contact_email))

Please contact responsible person, if you are not able to attend the interview ({{ $emp_interview_data->contact_email }})

@endif @else
Once {{ __('application_term.employer') }} Interview will schedule then details of Intrerview will shown here.
@endif @endif
@endif @else @if (!empty($lead_data) && count($lead_data)>0 )

@if(!empty($portfolio->placement_agency_id) && $portfolio->placementAgency->checkAgencySync()) @if(!empty($lead_data['lead_pos_name2'])) @endif @if(!empty($lead_data['lead_pos_name3'])) @endif @else @foreach($lead_data as $ld) @endforeach @endif
Portfolio Number Position Name Host Company Start Date End Date Action
{{$portfolio->portfolio_number}} {!!$lead_data['lead_pos_name1']!!} {!!$lead_data['lead_emp_name1']!!} {{dateformat($lead_data['start_date1'],DISPLAY_DATE)}} {{dateformat($lead_data['end_date1'],DISPLAY_DATE)}} -
{{$portfolio->portfolio_number}} {!!$lead_data['lead_pos_name2']!!} {!!$lead_data['lead_emp_name2']!!} {{dateformat($lead_data['start_date2'],DISPLAY_DATE)}} {{dateformat($lead_data['end_date2'],DISPLAY_DATE)}} -
{{$portfolio->portfolio_number}} {!!$lead_data['lead_pos_name3']!!} {!!$lead_data['lead_emp_name3']!!} {{dateformat($lead_data['start_date3'],DISPLAY_DATE)}} {{dateformat($lead_data['end_date3'],DISPLAY_DATE)}} -
{{$portfolio->portfolio_number}} {{$ld->position->pos_name}} {{$ld->hostCompany->hc_name}} {{dateformat($ld->position->start_date,DISPLAY_DATE)}} {{dateformat($ld->position->end_date,DISPLAY_DATE)}}
@elseif(empty($booked_data))

Please add the positions for this candidate.

@endif @if(!empty($booked_data) && count($booked_data)>0)

@if(!empty($portfolio->placement_agency_id) && $portfolio->placementAgency->checkAgencySync()) @foreach($booked_data as $bd) @endforeach @else @foreach($booked_data as $bd) @endforeach @endif
Position Name Host Company Salary Type Placement Order 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"}} {{$bd['pla_order']}} {{dateformat($bd['user_pos_start_date'],DISPLAY_DATE)}} {{dateformat($bd['user_pos_end_date'],DISPLAY_DATE)}} {{dateformat($bd['booked_date'],DISPLAY_DATETIME)}} -
{{$bd->position->pos_name}} {{$bd->hostCompany->hc_name}} {{$bd->salary}} / {{$pay_rate_basis[$bd->pay_rate_basis]}} {{$bd->type == 1 ? "Booked" : "Placed"}} {{$bd->pla_order}} {{dateformat($bd->start_date,DISPLAY_DATE)}} {{dateformat($bd->end_date,DISPLAY_DATE)}} {{dateformat($bd->booked_date,DISPLAY_DATETIME)}} @if(!empty($bd->j1Interview->hc_alternate_datetime) || !empty($bd->j1Interview->ev_alternate_datetime)) @endif
@else

Booked Position can not be added for this candidate because candidate already placed.

@endif @endif @endif