{% extends "base.html" %} {% comment %} The Mia Accounting Application report-ledger-summary.html: The template for the ledger summaries 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/16 {% endcomment %} {% load static %} {% load i18n %} {% load mia_core %} {% load accounting %} {% block settings %} {% blocktrans asvar title with account=request.resolver_match.kwargs.account.title %}Ledger 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-file-invoice-dollar" current_report_title=_("Ledger Summary") ledger_account=request.resolver_match.kwargs.account %} {% include "accounting/include/report-chooser.html" %} {% endwith %}
{% if month_list %} {% include "mia_core/include/pagination.html" %} {# The table for large screens #} {% for month in month_list %} {% endfor %}
{{ _("Month")|force_escape }} {{ _("Debit")|force_escape }} {{ _("Credit")|force_escape }} {{ _("Balance")|force_escape }} {{ _("Cumulative Balance")|force_escape }} {{ _("View")|force_escape }}
{{ month.label }} {{ month.debit|accounting_amount }} {{ month.credit|accounting_amount }} {{ month.balance|accounting_amount }} {{ month.cumulative_balance|accounting_amount }} {% if month.month is not None %} {{ _("View")|force_escape }} {% endif %}
{# The list for small screens #} {% else %}

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

{% endif %} {% endblock %}