{% 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.values %}
{{ currency.currency.name }}
{% if currency.exchanged and currency.exchanged.total_current %}
{% endif %} {% endfor %}
{% translate 'By account' %}
{% regroup account_net_worth.values by account.group as account_data %} {% for data in account_data %} {% if data.grouper %}
{{ data.grouper }}
{% for account in data.list %}
{{ account.account.name }}
{% if account.exchanged and account.exchanged.total_final %} {% endif %} {% endfor %} {% else %} {% for account in data.list %}
{{ account.account.name }}
{% if account.exchanged and account.exchanged.total_final %} {% endif %} {% endfor %} {% endif %} {% endfor %}
{% endblock %}