{# academics/templates/report_cards/anglophone_primary.html #} {# Matches scanned template: doc 13 — MARKS /20, Term page + Annual results page #} {# ═══════════════════════════════════════════════════════════════════ TERM PAGE (one per term — term 1, 2, and 3) ════════════════════════════════════════════════════════════════════ #} {% for term_data in terms %} {% if not forloop.first %}
{% endif %}
{% if school.logo %}Logo{% else %}
{% endif %}

{{ school.name }}

PROGRESS REPORT CARD / ANGLOPHONE PRIMARY

{{ school.address }} | Tel: {{ school.phone }}
{% if school.logo %}Logo{% else %}
{% endif %}
{{ student.get_full_name }}
{{ report_card.school_class }}
{{ term_data.term.term }}
{{ term_data.term.academic_year }}
{{ report_card.school_class.class_teacher.get_display_name }}
{{ student.date_of_birth|date:"d/m/Y" }}
{{ student.get_gender_display }}
{% for m in term_data.month_labels %} {% endfor %} {% for row in term_data.rows %} {% if row.is_domain_header %} {# domain header is embedded via rowspan in first subject row #} {% else %} {% if row.show_domain %} {% endif %} {% if row.show_activity %} {% endif %} {% for score in row.month_scores %} {% endfor %} {% endif %} {% endfor %} {% for m_total in term_data.month_totals %} {% endfor %} {% for m_avg in term_data.month_averages %} {% endfor %}
DOM. ACTIVITIES SUB-ACTIVITIES MARKS /20 Synthese Marks APPRECIATION
{{ m }}
{{ row.domain }}{{ row.activity }}{{ row.sub_activity }}{{ score|default:'' }}{{ row.synthese|default:'' }} {{ row.appreciation|default:'' }}
TOTAL{{ m_total|default:'' }}{{ term_data.total_synthese|default:'' }}
AVERAGE{{ m_avg|default:'' }}{{ term_data.average|default:'' }}
POSITION {{ report_card.position|default:'' }}/{{ term_data.class_size }}
CONDUCT:  {{ report_card.conduct|default:'' }} REMARKS:  {{ report_card.class_teacher_remark|default:'' }}
Head Teacher Sign.
Class Teacher Sign.
Parent Sign.
{% if term_data.term.term == 3 %} {# ── Annual Results block (shown only on Term 3 page) ── #}

ANNUAL RESULTS

{{ report_card.term1_average|default:'…' }}
{{ report_card.term2_average|default:'…' }}
{{ report_card.term3_average|default:'…' }}
{{ report_card.annual_average|default:'…' }}
{{ report_card.annual_position|default:'…' }}/{{ term_data.class_size }}

DECISION

Head Teacher Remark:
{{ report_card.head_teacher_remark|default:'' }}
NEXT TERM BEGINS: {{ report_card.next_term_begins|date:"d/m/Y"|default:'…………………' }}
Head Teacher Sign.
Class Teacher Sign.
Parent Sign.
{% endif %} {% endfor %}{# end terms loop #}