mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-25 10:08:36 +02:00
feat: add account group to item
This commit is contained in:
@@ -99,6 +99,7 @@ def transactions_list(request, month: int, year: int):
|
|||||||
.order_by("date_order", "date", "id")
|
.order_by("date_order", "date", "id")
|
||||||
.prefetch_related(
|
.prefetch_related(
|
||||||
"account",
|
"account",
|
||||||
|
"account__group",
|
||||||
"category",
|
"category",
|
||||||
"tags",
|
"tags",
|
||||||
"account__exchange_currency",
|
"account__exchange_currency",
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
color="grey"></c-amount.display>
|
color="grey"></c-amount.display>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<div>{{ transaction.account.name }}</div>
|
<div>{% if transaction.account.group %}{{ transaction.account.group.name }} • {% endif %}{{ transaction.account.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{# Item actions#}
|
{# Item actions#}
|
||||||
|
|||||||
Reference in New Issue
Block a user