{% load i18n static cashbook_extras %} {% trans "Receipt" %} - {{ ref }}
{% if biz.logo %} Logo {% endif %}
{{ biz.name }}
{% if biz.city %}
{{ biz.city }}
{% endif %} {% if biz.country %}
{{ biz.country.name }}
{% endif %}
{% trans "Receipt" %} • {{ ref }}
{% trans "Date" %}: {{ tx.date }}
{% trans "Reference" %}: {{ ref }}
{% trans "Customer" %}
{% if tx.contact %}
{{ tx.contact.name }}
{% if tx.contact.phone %}
{{ tx.contact.phone }}
{% endif %} {% else %}
-
{% endif %}
{% if tx.sale_items.all %} {% for it in tx.sale_items.all %} {% endfor %}
{% trans "Item" %} {% trans "Qty" %} {% trans "Price" %} {% trans "Amount" %}
{{ it.name }} {{ it.quantity }} {{ it.price }} {{ tx.currency|currency_label }} {{ it.amount }} {{ tx.currency|currency_label }}
{% 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 %}