{% load i18n %} {% load base_filters %}

{{ user.username }},

{% trans "The following invoice has been edited:" %}

{% trans "ID:" %} {{ object.id }}
{% trans "Type:" %} {% if object.estimate %} {% if 'cancel' in object.status_detail %} {% trans "CANCELLED" %} {% else %} {% trans "EST" %} {% endif %} {% else %} {% trans "Tendered" %} {% endif %}
{% if invoice.create_dt %}
{% blocktrans with object.create_dt|date:'long' as objdate %}Create Date: {{ objdate }} {% endblocktrans %}
{% endif %} {% if not object.estimate and object.total > 0 %}
{% trans "Total:" %} {{ object.total|format_currency }}
{% endif %}
{% blocktrans with object.get_absolute_url as objget%}To view this invoice go to: {{ SITE_GLOBAL_SITEURL }}{{ objget }}{% endblocktrans %}

{% trans "Thanks!" %}