{% for ps in reg.get_period_payment_statuses %}
{{ ps.period.name }}:
{{ ps.status.paid | currency }}
{% if ps.status.discount %}({% trans 'discount' %}: {{ ps.status.discount | currency }}{% if ps.status.explanation %} - {{ ps.status.explanation }}{% endif %}){% endif %}
{% endfor %}
{% endif %}
{% if reg.course %}
{% for history in reg.course_history.all %}
{% for entry in history.course_journal_entries.all %}
{% if reg in entry.all_registrations %}✓{% else %}✗{% endif %}
{% endfor %}
{% endfor %}