diff --git a/app/templates/cotton/transaction/small_item.html b/app/templates/cotton/transaction/small_item.html new file mode 100644 index 0000000..875b6c8 --- /dev/null +++ b/app/templates/cotton/transaction/small_item.html @@ -0,0 +1,94 @@ +
+ + + +
+
+
+
+
+
Date
+
{{ transaction.date|date:"Y-m-d" }}
+ +
Reference Date
+
{{ transaction.reference_date|date:"Y-m" }}
+ +
Account
+
{{ transaction.account.name }}
+ +
Category
+
{{ transaction.category|default:"-" }}
+
+
+
+
+ {% if transaction.tags.exists %} +
Tags
+
+ {% for tag in transaction.tags.all %} + {{ tag.name }} + {% endfor %} +
+ {% endif %} + + {% if transaction.installment_plan %} +
Installment
+
+ {{ transaction.installment_id }} of {{ transaction.installment_plan.total_installments }} +
+ {% endif %} + + {% if transaction.recurring_transaction %} +
Recurring
+
Yes
+ {% endif %} + + {% if transaction.notes %} +
Notes
+
{{ transaction.notes }}
+ {% endif %} +
+
+
+
+
+
\ No newline at end of file