{% load i18n l10n %} {% get_current_language as LANGUAGE_CODE %} {% if format == 'Invoice' %}
Legend Invoice Status:
Wall bill

Created

Viewed

Validated

Rejected

Paid
Overdue

{% endif %} {% if format == 'Payment'%}
Legend Payment Status:
Not Assigned

Assigned

Partially Assigned

{%endif%}