{% extends "base.html" %} {% comment %} The Mia Accounting Application cash.html: The template for the cash account reports 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 period=period.description context "Accounting|" %}Balance Sheet in {{ period }}{% endblocktrans %} {% setvar "title" title %} {% setvar "use_period_chooser" True %} {% static "accounting/css/report.css" as css %} {% setvar "css" css %} {% endblock %} {% block content %}
{% with current_report_icon="fas fa-balance-scale" %} {% trans "Balance Sheet" context "Accounting|" as current_report_title %} {% include "accounting/include/report-chooser.html" %} {% endwith %}
{% include "mia_core/include/period-chooser.html" %} {# The table for large screens #}

{{ title|escape }}

{% for group in assets.groups %} {% for item in group.details %} {% endfor %} {% endfor %}
{{ assets.title|title }}
{{ group.title|title }}
{{ item.balance|accounting_amount }} {% trans "View" context "Accounting|" as text %}{{ text|force_escape }}
{% for group in liabilities.groups %} {% for item in group.details %} {% endfor %} {% endfor %}
{{ liabilities.title|title }}
{{ group.title|title }}
{{ item.balance|accounting_amount }} {% trans "View" context "Accounting|" as text %}{{ text|force_escape }}
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {{ liabilities.balance|accounting_amount }}
{% for group in owners_equity.groups %} {% for item in group.details %} {% endfor %} {% endfor %}
{{ owners_equity.title|title }}
{{ group.title|title }}
{{ item.balance|accounting_amount }} {% trans "View" context "Accounting|" as text %}{{ text|force_escape }}
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {{ owners_equity.balance|accounting_amount }}
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {{ assets.balance|accounting_amount }}
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {{ liabilities.balance|add:owners_equity.balance|accounting_amount }}
{# The list for small screens #}

{{ title|escape }}

  • {{ assets.title|title }}
  • {% for group in assets.groups %}
  • {{ group.title|title }}
  • {% for item in group.details %} {% endfor %} {% endfor %}
  • {% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {{ assets.balance|accounting_amount }}
  • {{ liabilities.title|title }}
  • {% for group in liabilities.groups %}
  • {{ group.title|title }}
  • {% for item in group.details %} {% endfor %} {% endfor %}
  • {% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {{ liabilities.balance|accounting_amount }}
  • {{ owners_equity.title|title }}
  • {% for group in owners_equity.groups %}
  • {{ group.title|title }}
  • {% for item in group.details %} {% endfor %} {% endfor %}
  • {% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {{ owners_equity.balance|accounting_amount }}
  • {% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {{ liabilities.balance|add:owners_equity.balance|accounting_amount }}
{% endblock %}