{% load i18n static cashbook_extras %}
{% trans "Receipt" %} - {{ ref }}
{% trans "Customer" %}
{% if tx.contact %}
{{ tx.contact.name }}
{% if tx.contact.phone %}
{{ tx.contact.phone }}
{% endif %}
{% else %}
-
{% endif %}
{% if tx.sale_items.all %}
| {% trans "Item" %} |
{% trans "Qty" %} |
{% trans "Price" %} |
{% trans "Amount" %} |
{% for it in tx.sale_items.all %}
| {{ it.name }} |
{{ it.quantity }} |
{{ it.price }} {{ tx.currency|currency_label }} |
{{ it.amount }} {{ tx.currency|currency_label }} |
{% endfor %}
| {% trans "Total" %} |
{{ tx.amount }} {{ tx.currency|currency_label }} |
{% else %}
| {% trans "Item" %} |
{% trans "Account" %} |
{% trans "Amount" %} |
| {{ tx.description|default:_("Payment received") }} |
{{ tx.account.name }} |
{{ tx.amount }} {{ tx.currency|currency_label }} |
{% endif %}