@lang('menu.jobApplications')
@if(is_null($application->photo)) @else @endif {{--
--}}

@if($application->is_viewed) @if ($application->resume_url) @lang('app.view') @lang('modules.jobApplication.resume') @endif @else @lang('app.view') @lang('app.details') @endif

{{--
--}} @if($user->cans('edit_job_applications'))
@endif @if ($user->cans('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->is_viewed) ? $application->email : 'xxxxxxxxxxxxx' }}

@lang('app.phone')

{{ ($application->is_viewed) ? $application->phone : 'xxxxxxxxxxxxx' }}

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

{{ ($application->is_viewed) ? ucfirst($application->gender) : 'xxxxxxxxxxxxx' }}

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

{{ ($application->is_viewed) ? $application->dob->format('jS F, Y') : 'xxxxxxxxxxxxx' }}

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

{{ ($application->is_viewed) ? $application->country : 'xxxxxxxxxxxxx' }}

@lang('app.state')

{{ ($application->is_viewed) ? $application->state : 'xxxxxxxxxxxxx' }}

@lang('app.city')

{{ ($application->is_viewed) ? $application->city : 'xxxxxxxxxxxxx' }}

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

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

@lang('modules.front.additionalDetails')

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

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

@empty @endforelse
@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->cans('add_schedule') && $application->status->status == 'interview' && is_null($application->schedule)) @endif
@if ($user->cans('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->cans('edit_job_applications')) @endif
    {{ ucfirst($notes->note_text) }}
  • @endforeach
@if($user->cans('edit_job_applications')) @endif
@if($user->cans('edit_job_applications')) @endif @if(!is_null($application->skype_id)) @endif