{% load math_tags %} School Detailed Results – {{ school.name }} – {{ project.name }}
PRIME MINISTER'S OFFICE - REGIONAL ADMINISTRATION AND LOCAL GOVERNMENT
{{ project.name|upper }}
{{ school.school_code }} {{ school.name|upper }} {{ school.district.name|upper }} - {{ school.district.region.name|upper }}
I II III IV 0 GPA RANK(OVERALL)
{{ division_counts.I }} {{ division_counts.II }} {{ division_counts.III }} {{ division_counts.IV }} {{ division_counts.0 }} {{ school_result.sch_gpa|default:"-"|floatformat:4 }} {{ school_rank|default:"-" }}/{{ overall_total }}
{% for subject in subjects %} {% endfor %} {% for student in students %} {% for score in student.subject_scores %} {% with score_parts=score.split %} {% endwith %} {% endfor %} {% endfor %}
C.NO NAMES SEX COMB
{{ subject.subject_name_eng }}
AVERAGE
AV.
GRADES
POINTS
DIVISION
{{ student.cand_no }} {{ student.name }} {{ student.sex }} {% if student.combination %} {{ student.combination }} {% endif %} {% if score_parts.0 and score_parts.0 != 'X' and score_parts.0 != '' %} {{ score_parts.0 }} {% else %}   {% endif %} {% if score_parts.1 and score_parts.1 != 'X' and score_parts.1 != '' %} {{ score_parts.1 }} {% else %}   {% endif %} {{ student.average|default:""|floatformat:0 }} {{ student.avg_grade|default:"-" }} {{ student.points|default:"-" }} {% if student.division %} {{ student.division }} {% else %} - {% endif %}