@extends('admin.layouts.master') @section('title', 'HR') @php $positionTitles = explode(',', $applicant->positionTitle); $companies = explode(',', $applicant->company); $managers = explode(',', $applicant->manager); $locations = explode(',', $applicant->location); $workSalaries = explode(',', $applicant->workSalary); $workPhones = explode(',', $applicant->workPhone); $count = count($positionTitles); $trainingNames = explode(',', $applicant->trainingName); $trainingDates = explode(',', $applicant->trainingDate); $destinations = explode(',', $applicant->destination); $count2 = count($trainingNames); @endphp @section('content')
@if($applicant->image) avatar-16 @else avatar-16 @endif

{{ ucwords($applicant->name) }}

    @if ($applicant->position)
  • Position Applied For: {{ $applicant->position }}
  • @endif @if ($applicant->address)
  • Address: {{ $applicant->address }}
  • @endif @if ($applicant->email)
  • Email: {{ $applicant->email }}
  • @endif @if ($applicant->mobile)
  • Phone: {{ $applicant->mobile }}
  • @endif @if ($applicant->hear)
  • Heard About Us From: {{ $applicant->hear }}
  • @endif @if ($applicant->recruiter)
  • HR Recruiter: {{ $applicant->recruiter }}
  • @endif @if ($applicant->collage)
  • Nationality: {{ $applicant->nationality }}
  • @endif @if ($applicant->age)
  • Age: {{ $applicant->age }}
  • @endif
    @if ($applicant->car)
  • Have Car: {{ $applicant->car }}
  • @endif @if ($applicant->university)
  • University: {{ $applicant->university }}
  • @endif @if ($applicant->collage)
  • Degree: {{ $applicant->collage }}
  • @endif
Apply Date: {{ $applicant->date }}
Referal From: {{ $applicant->referFrom }}

Previous Jobs

@for ($i = 0; $i < $count; $i++)

Company:

{{ $companies[$i] }}

Previous Job:

{{ $positionTitles[$i] }}

Manager:

{{ $managers[$i] }}

Location:

{{ $locations[$i] }}

Salary:

{{ $workSalaries[$i] }}

Phone:

{{ $workPhones[$i] }}
@endfor

Trainings

@for ($i = 0; $i < $count2; $i++)

Training Name:

{{ $trainingNames[$i] }}

Training Date:

{{ $trainingDates[$i] }}

Destination:

{{ $destinations[$i] }}
@endfor

Start Work Data

Started To Work Here:

{{ $applicant->startWorkDate }}

Signature:

{{ $applicant->signature }}

Signature Date:

{{ $applicant->signatureDate }}

Follow Up

Source: {{ $followup->source }}

Follower: {{ $followup->follower }}

First Follow Up

First Call: {{ $followup->first_call }}

First Call Result: {{ ucwords(str_replace('_',' ',$followup->first_call_result)) }}

@if($followup->first_call_result == 'not interested')

Reason: {{ $followup->interest_reason }}

@endif @if($followup->first_call_result == 'not suitable')

Reason: {{ $followup->suitable_reason }}

@endif @if($followup->other_reason)

Other Reason: {{ $followup->other_reason }}

@endif
@php $ex = explode(',',$followup->second_call); $co = count($ex); $second_call_result = explode(',',$followup->second_call_result); $interest_reason2 = explode(',',$followup->interest_reason2); $suitable_reason2 = explode(',',$followup->suitable_reason2); $other_reason1 = explode(',',$followup->other_reason1); @endphp @if($co > 0) @foreach($ex as $key=>$s)
Follow Up

Follow Date: {{ $ex[$key] }}

Follow Result: {{ ucwords(str_replace('_',' ',$second_call_result[$key])) }}

@if($second_call_result) @if($second_call_result[$key] == 'not interested')

Reason: {{ $interest_reason2[$key] }}

@endif @if($second_call_result[$key] == 'not suitable')

Reason: {{ $suitable_reason2[$key] }}

@endif @endif @if($other_reason1) @if($other_reason1[$key])

Other Reason: {{ $other_reason1[$key] }}

@endif @endif
@endforeach @endif

First Interview

First Interview: {{ $followup->first_interview }}

Interview With: {{ $followup->interview_with }}

First Interview Result: {{ ucwords(str_replace('_',' ',$followup->first_interview_result)) }}

@if($followup->first_interview_result == 'not interested' || $followup->first_interview_result == 'not suitable')

Reason: {{ $followup->interview_reason }}

@endif
Second Interview

Second Interview: {{ $followup->second_interview }}

Interview With: {{ $followup->interview_with2 }}

Second Interview Result: {{ ucwords(str_replace('_',' ',$followup->second_interview_result)) }}

@if($followup->second_interview_result == 'not interested' || $followup->second_interview_result == 'not suitable')

Reason: {{ $followup->interview_reason2 }}

@endif

Contract

Branch: {{ $contract->branch }}

Contract Signed: {{ $contract->contract_signed }}

Contract Date: {{ $contract->contract_date }}

Contract Period: {{ $contract->contract_period }}

Courses/Certificates
@php $cour = []; $cert = []; if($contract->courses){ $cour = explode(',',$contract->courses); } if($contract->real_certificates){ $cert = explode(',',$contract->real_certificates); } @endphp
Courses

Fire Up and Succeed: @if(in_array('Fire Up and Succeed',$cour)) avatar-16 @endif

Evaluation: @if(in_array('Evaluation',$cour)) avatar-16 @endif

Commercial: @if(in_array('Commercial',$cour)) avatar-16 @endif

Legal: @if(in_array('Legal',$cour)) avatar-16 @endif

RE/MAX And you: @if(in_array('RE/MAX And you',$cour)) avatar-16 @endif

Momentum: @if(in_array('Momentum',$cour)) avatar-16 @endif

Team: @if(in_array('Team',$cour)) avatar-16 @endif

Building: @if(in_array('Building',$cour)) avatar-16 @endif

Certificates

ACB: @if(in_array('ACB',$cert)) avatar-16 @endif

CCIM: @if(in_array('CCIM',$cert)) avatar-16 @endif

Business Broker: @if(in_array('Business Broker',$cert)) avatar-16 @endif

Other: @if(in_array('Other',$cert)) avatar-16 @endif

Required Papers Status

National ID: @if($contract->national_id == true) avatar-16 @endif

Birth Cirtificate: @if($contract->birth_cirtificate == true) avatar-16 @endif

Graduation Cirtificate: @if($contract->graduation_cirtificate == true) avatar-16 @endif

Criminal Record: @if($contract->criminal_record == true) avatar-16 @endif

Military Service: @if($contract->military_service == true) avatar-16 @endif

4 Personal Photos: @if($contract->personal_photos == true) avatar-16 @endif

Code Of Ethics: @if($contract->ethics_code == true) avatar-16 @endif

Remax Egypt Contract Status

Remax Egypt Contract Signed: @if($contract->remaxEgypt == 'Yes') avatar-16 @endif

Remax Egypt Contract Signature Date: {{ $contract->remaxEgyptDate }}

@endsection @section('js') @endsection