{% extends "base.html" %} {% comment %} The Mia Accounting Application report-balance-sheet.html: The template for the balance sheets Copyright (c) 2020 imacat. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Author: imacat@mail.imacat.idv.tw (imacat) First written: 2020/7/20 {% endcomment %} {% load static %} {% load i18n %} {% load humanize %} {% load mia_core %} {% load accounting %} {% block settings %} {% blocktrans asvar title with prep_period=request.resolver_match.kwargs.period.prep_desc %}Balance Sheet {{ prep_period }}{% endblocktrans %} {% setvar "title" title %} {% setvar "use_period_chooser" True %} {% static "accounting/css/report.css" as file %}{% add_css file %} {% endblock %} {% block content %}
{% with current_report_icon="fas fa-balance-scale" current_report_title=_("Balance Sheet") period=request.resolver_match.kwargs.period %} {% include "accounting/include/report-chooser.html" %} {% endwith %}
{% with period=request.resolver_match.kwargs.period %} {% include "mia_core/include/period-chooser.html" %} {% endwith %} {# The table for large screens #}

{{ title|title_case }}

{% for group in assets.groups %} {% for account in group.details %} {% endfor %} {% endfor %}
{{ assets.title|title_case }}
{{ group.title|title_case }}
{{ account.amount|accounting_amount }} {{ _("View")|force_escape }}
{% for group in liabilities.groups %} {% for account in group.details %} {% endfor %} {% endfor %}
{{ liabilities.title|title_case }}
{{ group.title|title_case }}
{{ account.amount|accounting_amount }} {{ _("View")|force_escape }}
{{ _("Total")|force_escape }} {{ liabilities.amount|accounting_amount }}
{% for group in owners_equity.groups %} {% for account in group.details %} {% endfor %} {% endfor %}
{{ owners_equity.title|title_case }}
{{ group.title|title_case }}
{{ account.amount|accounting_amount }} {{ _("View")|force_escape }}
{{ _("Total")|force_escape }} {{ owners_equity.amount|accounting_amount }}
{{ _("Total")|force_escape }} {{ assets.amount|accounting_amount }}
{{ _("Total")|force_escape }} {{ liabilities.amount|add:owners_equity.amount|accounting_amount }}
{# The list for small screens #}

{{ title|escape }}

  • {{ _("Total")|force_escape }} {{ liabilities.amount|add:owners_equity.amount|accounting_amount }}
{% endblock %}