@lang('menu.jobApplications')
{{----}} @if($user->can('edit_job_applications'))
@endif @if ($user->can('delete_job_applications')) @endif
@lang('app.name')

{{ ucwords($application->full_name) }}

@lang('modules.jobApplication.appliedFor')

{{ ucwords($application->job->title).' ('.ucwords($application->job->location->location).')' }}

@lang('app.email')

{{ $application->email }}

@lang('app.phone')

{{ $application->phone }}

@if (!is_null($application->gender))
@lang('app.gender')

{{ ucfirst($application->gender) }}

@endif @if (!is_null($application->dob))
@lang('app.dob')

{{ $application->dob->format('jS F, Y') }}

@endif
@if (!is_null($application->country))
@lang('app.country')

{{ $application->country }}

@lang('app.state')

{{ $application->state }}

@lang('app.city')

{{ $application->city }}

@endif
@lang('modules.jobApplication.appliedAt')

{{ $application->created_at->format('d M, Y H:i') }}

@if ($answers->count() > 0)

@lang('modules.front.additionalDetails')

@forelse($answers as $answer) {{$answer->question->question}}

{{ ucfirst($answer->answer)}}

@empty @endforelse
@endif @if(!is_null($application->schedule))
@lang('modules.interviewSchedule.scheduleDetail')
@lang('modules.interviewSchedule.scheduleDate')

{{ $application->schedule->schedule_date->format('d M, Y H:i') }}

@lang('modules.interviewSchedule.assignedEmployee')
@lang('modules.interviewSchedule.employeeResponse')
@forelse($application->schedule->employee as $key => $emp )

{{ ucwords($emp->user->name) }}

@if($emp->user_accept_status == 'accept') @elseif($emp->user_accept_status == 'refuse') @else @endif
@empty @endforelse
@endif @if(isset($application->schedule->comments) == 'interview' && count($application->schedule->comments) > 0)
@lang('modules.interviewSchedule.comments')
@forelse($application->schedule->comments as $key => $comment )

{{$comment->user->name }}: {{ $comment->comment }}

@empty @endforelse @endif

@if(!is_null($application->skype_id)) @endif

@if($user->can('add_schedule') && $application->status->status == 'interview' && is_null($application->schedule)) @endif
@if ($user->can('edit_job_applications'))

@lang('modules.jobApplication.skills')
@if (!is_null($application->skills) && sizeof($application->skills) > 0) @lang('modules.jobApplication.updateSkills') @else @lang('modules.jobApplication.addSkills') @endif
@endif

@lang('modules.jobApplication.applicantNotes')
    @foreach($application->notes as $key => $notes )
  • {{ ucwords($notes->user->name) }} {{ $notes->created_at->diffForHumans() }} @if($user->can('edit_job_applications')) @endif
    {{ ucfirst($notes->note_text) }}
  • @endforeach
@if($user->can('edit_job_applications')) @endif
@if($user->can('edit_job_applications')) @endif @if(!is_null($application->skype_id)) @endif