{% load i18n leprikon_tags %}

{% trans 'Receipt for donation' %}

{% trans 'recipe number' %}: {{ object.id }}

{{ object.organization.name }}

{% trans 'address' %}:

{{ object.organization.street }}

{{ object.organization.postal_code }}, {{ object.organization.city }}

{% if object.organization.email %}

{% trans 'email' %}: {{ object.organization.email }}

{% endif %} {% if object.organization.phone %}

{% trans 'phone' %}: {{ object.organization.phone }}

{% endif %} {% if object.organization.email or object.organization.phone %}
{% endif %}

{% trans 'company number' %}: {{ object.organization.company_num }}

{% trans 'donation date' %} {{ object.accounted.date }}
{% trans 'amount' %} {{ object.amount | currency }}

{% trans 'donation type' %}:

{{ object.transaction_type_label }}

{% if object.source_registration %} {% include 'leprikon/registration_recipe.html' with registration=object.source_registration %} {% endif %} {% if object.received_by %}

{% trans 'donation received by' %}:

{{ object.received_by.get_full_name }}

{% endif %}