{% extends "base.html" %} {% comment %} The Mia Accounting Application cash_summary.html: The template for the cash summary 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/15 {% endcomment %} {% load static %} {% load i18n %} {% load humanize %} {% load mia_core %} {% load accounting %} {% block settings %} {% blocktrans asvar title with account=account.title context "Accounting|" %}Cash Summary for {{ account }}{% endblocktrans %} {% setvar "title" title %} {% static "accounting/css/report.css" as file %}{% add_css file %} {% endblock %} {% block content %}
{% with current_report_icon="fas fa-money-bill-wave" %} {% trans "Cash Summary" context "Accounting|" as current_report_title %} {% include "accounting/include/report-chooser.html" %} {% endwith %}
{% if item_list %} {% include "mia_core/include/pagination.html" %} {# The table for large screens #} {% for item in item_list %} {% endfor %}
{% trans "Month" context "Accounting|" as text %}{{ text|force_escape }} {% trans "Income" context "Accounting|" as text %}{{ text|force_escape }} {% trans "Expense" context "Accounting|" as text %}{{ text|force_escape }} {% trans "Balance" context "Accounting|" as text %}{{ text|force_escape }} {% trans "Cumulative Balance" context "Accounting|" as text %}{{ text|force_escape }} {% trans "View" context "Accounting|" as text %}{{ text|force_escape }}
{{ item.label }} {{ item.credit|accounting_amount }} {{ item.debit|accounting_amount }} {{ item.balance|accounting_amount }} {{ item.cumulative_balance|accounting_amount }} {% if item.month is not None %} {% trans "View" context "Accounting|" as text %}{{ text|force_escape }} {% endif %}
{# The list for small screens #} {% else %}

{{ _("There is currently no data.")|force_escape }}

{% endif %} {% endblock %}