{# The Mia! Accounting Flask Project income-expenses.html: The income and expenses Copyright (c) 2023 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: 2023/3/5 #} {% extends "accounting/base.html" %} {% block accounting_scripts %} {% endblock %} {% block header %}{% block title %}{{ _("Income and Expenses of %(account)s in %(currency)s %(period)s", currency=report.currency.name|title, account=report.account|title, period=report.period.desc|title) }}{% endblock %}{% endblock %} {% block content %}
{{ A_("Date") }} | {{ A_("Account") }} | {{ A_("Summary") }} | {{ A_("Income") }} | {{ A_("Expense") }} | {{ A_("Balance") }} |
---|---|---|---|---|---|
{{ item.date|accounting_format_date }} | {{ item.account.title|title }} | {{ "" if item.summary is none else item.summary }} | {{ "" if item.income is none else item.income|accounting_format_amount }} | {{ "" if item.expense is none else item.expense|accounting_format_amount }} | {{ item.balance|accounting_format_amount }} |
{{ A_("Total") }} | {{ report.total_row.income|accounting_format_amount }} | {{ report.total_row.expense|accounting_format_amount }} | {{ report.total_row.balance|accounting_format_amount }} |
{{ A_("There is no data.") }}
{% endif %} {% endblock %}