{% extends "base.html" %} {% block content %}

Competency Report Detail

{{ emp.employee_code }} — {{ emp.full_name }} | {{ designation.title if designation else '-' }} | {{ cycle.cycle_name }}
Back
Score

{{ review.total_score or 0 }} / {{ review.max_score or 0 }}

Percentage

{{ review.percentage or 0 }}%

Status

{{ review.status|title }}

Result

{% if review.result == 'pass' %} Pass {% elif review.result == 'fail' %} Fail {% else %} - {% endif %}

{% for skill_id, block in skill_map.items() %} {% set mapping = passing_map.get(skill_id) %}
{{ block.skill.skill_name }}
Score: {{ block.score }} / {{ block.max_score }} | Passing: {{ mapping.passing_marks if mapping else 0 }} | {% if block.result == 'pass' %} Pass {% else %} Fail {% endif %}
{% for item in block.questions %} {% set ans = item.answer %} {% set q = item.question %} {% endfor %}
Question Marks Max Manager Comment
{{ q.question_text }} {{ ans.marks if ans.marks is not none else '-' }} {{ ans.max_marks }} {{ ans.manager_comment or '-' }}
{% endfor %}
{% endblock %}