{% extends "layouts/base.html" %} {% load currency_display %} {% load crispy_forms_tags %} {% load i18n %} {% load month_name %} {% load static %} {% load webpack_loader %} {% block title %}{% translate 'Net Worth' %}{% endblock %} {% block content %}
{% translate 'By currency' %}
{% for currency in currency_net_worth %}
{{ currency.name }}
{% endfor %}
{% translate 'By account' %}
{% for group_id, group_data in account_net_worth.items %} {% if group_id %}
{{ group_data.name }}
{% for account_id, account_data in group_data.accounts.items %}
{{ account_data.name }}
{% if account_data.exchange %} {% endif %} {% endfor %} {% else %} {% for account_id, account_data in group_data.accounts.items %}
{{ account_data.name }}
{% if account_data.exchange %} {% endif %} {% endfor %} {% endif %} {% endfor %}
{% endblock %}