{% extends 'index.html' %} {% load i18n %} {% load horillafilters %} {% load static %} {% block content %} {% load recruitmentfilters %}
{% if next != None %} {% else %} {% endif %} {% if previous != None %} {% else %} {% endif %} {% if perms.recruitment.change_candidate %}
{% if not candidate.email in emp_list and not candidate.start_onboard %}
{% csrf_token %}
{% endif %}
{% endif %}
Username

{{candidate}}

{{candidate.job_position_id}}

  • {% trans "Email" %}: {{candidate.email}}
  • {% trans "Phone" %}: {{candidate.mobile}}
{% with request.user.employee_get.candidate_rating.all as candidate_ratings %}
{% for i in "54321" %} {% endfor %}
{% endwith %}
{% trans "Personal Information" %}
  • {% trans "Date of Birth" %} {{candidate.dob}}
  • {% trans "Gender" %} {{candidate.gender|capfirst}}
  • {% trans "Address" %}

    {{candidate.address}}

  • {% trans "Country" %} {{candidate.country}}
  • {% trans "State" %} {{candidate.state}}
  • {% trans "Portfolio" %} {{candidate.portfolio}}
{% trans "Recruitment Information" %}
  • {% trans "Recruitment" %} {{candidate.recruitment_id}}
  • {% trans "Department" %} {{candidate.job_position_id.department_id}}
  • {% trans "Source" %} {% if candidate.get_source_display != None %} {{candidate.get_source_display}} {% endif %}
  • {% trans "Current Stage" %} {{candidate.stage_id}}
  • {% trans "Job Position" %} {{candidate.job_position_id}}
  • {% trans "Referral" %} {{candidate.referral}}
{% include "candidate/individual_view_note.html" %}
{% if candidate.candidate_interview.exists %}
{{candidate}}'s {% trans "Scheduled Interviews" %}
    {% for interview_schedule in candidate.candidate_interview.all %}
  1. {{forloop.counter}}. {% trans "Date" %} : {{ interview_schedule.interview_date }} {% trans "Time" %} : {{ interview_schedule.interview_time }} {% trans "Interviewer" %} : {% for interviewer in interview_schedule.employee_id.all %}  radio_button_checked {{ interviewer }} {% endfor %}
    {% if interview_schedule.description %} {% trans "Description" %} : {{ interview_schedule.description }} {% endif %} {% if interview_schedule.completed %}
    check_circle {% trans "Interview Completed" %}
    {% elif interview_schedule.interview_date|date:"Y-m-d" < now|date:"Y-m-d" %}
    dangerous {% trans "Expired Interview" %}
    {% elif interview_schedule.interview_date|date:"Y-m-d" > now|date:"Y-m-d" %}
    schedule {% trans "Upcoming Interview" %}
    {% elif interview_schedule.interview_date|date:"Y-m-d" == now|date:"Y-m-d" and not interview_schedule.completed %}
    today {% trans "Interview Today" %}
    {% endif %}
  2. {% endfor %}
{% else %}
{{candidate}}'s {% trans "Scheduled Interviews" %}
{% trans "No interviews are scheduled for this candidate" %}
{% endif %}
{% include "candidate/history.html" %}
{% include "candidate/rating_tab.html" %}
{% if candidate.resume %} {% else %}

{% trans "This candidate does not have a resume on file." %}

{% endif %}
{% if candidate.recruitmentsurveyanswer_set.all %} {% for surveys in candidate.recruitmentsurveyanswer_set.all %}
{% for question, answer_list in surveys.answer.items %} {% if question != "csrfmiddlewaretoken" %}
{% if question|slice:"0:11" == "percentage_" %} {{ question|slice:"11:" }} {% elif question|slice:"0:7" == "rating_" %} {{ question|slice:"7:" }} {% elif question|slice:"0:5" == "file_" %} {{ question|slice:"5:" }} {% else %} {{ question }} {% endif %}
{% if answer_list|length > 1 %} {{ answer_list|join:", " }} {% else %} {% if answer_list.0 == "on" or answer_list.0 == "off"%} {{ answer_list.0|on_off }} {% elif question|slice:"0:11" == "percentage_" %} {{ answer_list.0 }}% {% elif question|slice:"0:5" == "file_" %} {{ answer_list.0 }} {% elif question|slice:"0:7" == "rating_" %}
{% else %} {{ answer_list.0 }} {% endif %} {% endif %}
{% endif %} {% endfor %}
{% endfor %} {% else %}
{% trans "No survey templates have been established yet." %}
{% endif %}
{% for task in candidate.candidate_task.all %}
{{ task.onboarding_task_id.task_title }}
{% endfor %}
{% endblock content %}