mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-31 22:43:20 +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")
|
||||
.prefetch_related(
|
||||
"account",
|
||||
"account__group",
|
||||
"category",
|
||||
"tags",
|
||||
"account__exchange_currency",
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
color="grey"></c-amount.display>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
<div>{{ transaction.account.name }}</div>
|
||||
<div>{% if transaction.account.group %}{{ transaction.account.group.name }} • {% endif %}{{ transaction.account.name }}</div>
|
||||
</div>
|
||||
<div>
|
||||
{# Item actions#}
|
||||
|
||||
Reference in New Issue
Block a user