{% extends 'leprikon/form.html' %}
{% load i18n leprikon_tags sekizai_tags static %}
{% block content %}
{{ block.super }}
{% if form.is_valid %}
{% blocktrans with date=date %}Received event payments from {{ date_start }} to {{ date_end }}{% endblocktrans %}
{% trans 'Date' %} |
{% trans 'Registration' %} |
{% trans 'Amount' %} |
{% for payment in received_payments %}
{{ payment.accounted }} |
{{ payment.target_registration }} |
{{ payment.amount | currency }} |
{% endfor %}
|
|
{{ received_payments_sum | currency }} |
{% endif %}
{% if returned_payments %}
{% blocktrans with date=date %}Returned event payments from {{ date_start }} to {{ date_end }}{% endblocktrans %}
{% trans 'Date' %} |
{% trans 'Registration' %} |
{% trans 'Returned amount' %} |
{% for payment in returned_payments %}
{{ payment.accounted }} |
{{ payment.source_registration }} |
{{ payment.amount | currency }} |
{% endfor %}
|
|
{{ returned_payments_sum | currency }} |
{% endif %}
{% if received_payments or returned_payments %}
{% blocktrans with date=date %}Summary from {{ date_start }} to {{ date_end }}{% endblocktrans %}
{% trans 'All received payments' %} |
{% trans 'All returned payments' %} |
{% trans 'Received - returned payments' %} |
{{ received_payments_sum | currency }} |
{{ returned_payments_sum | currency }} |
{{ sum | currency }} |
{% endif %}
{% include 'leprikon/static/bootstrap-datetimepicker.html' %}
{% endblock %}