diff --git a/app/templates/cotton/transaction/item.html b/app/templates/cotton/transaction/item.html index e264ac4..d761e77 100644 --- a/app/templates/cotton/transaction/item.html +++ b/app/templates/cotton/transaction/item.html @@ -24,10 +24,12 @@
{# Date#} -
- {{ transaction.date|date:"SHORT_DATE_FORMAT" }} • {{ transaction.reference_date|date:"b/Y" }}
+
+
+
{{ transaction.date|date:"SHORT_DATE_FORMAT" }} • {{ transaction.reference_date|date:"b/Y" }}
+
{# Description#} -
+
{% spaceless %} {{ transaction.description }} {% if transaction.installment_plan and transaction.installment_id %} @@ -41,32 +43,31 @@
{# Notes#} {% if transaction.notes %} -
- {{ transaction.notes | linebreaksbr }} +
+
+
{{ transaction.notes | linebreaksbr }}
{% endif %} +{# Category#} {% if transaction.category %} -
- {% spaceless %} - - {{ transaction.category.name }} - {% endspaceless %} +
+
+
{{ transaction.category.name }}
{% endif %} {# Tags#} {% with transaction.tags.all as tags %} {% if tags %} -
- {% for tag in tags %} - {{ tag.name }} - {% endfor %} +
+
+
{{ tags|join:", " }}
{% endif %} {% endwith %}
-
+
+