@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