{% load base_filters %} {% if obj %} {% blocktrans with event_title=obj.event.title event_start_dt=obj.event.start_dt|date:'N d, Y' %}Assets Purchase for: "{{ event_title }}" held on {{ event_start_dt }}{% endblocktrans %} {% if obj.user %} {{ obj.first_name }} {{ obj.last_name }} {% else %} {{ obj.first_name }} {{ obj.last_name }} {% endif %} {% with obj.pricing as price_title %} {% if price_title %}
{% trans "Purchased for:" %} {{ price_title}} {% endif %} {% endwith %} {{ obj.amount|format_currency }} {% for line in invoice.invoicelineitem_set.all %} {{ line.description }} {{ line.total|format_currency }} {% endfor %} {% endif %}