{% extends "base.html" %} {% comment %} The Mia Accounting Application cash.html: The template for the accounting cash 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/1 {% endcomment %} {% load i18n %} {% load humanize %} {% block settings %} {% trans "Cash Report" context "Accounting|" as title %} {% setvar "title" title %} {% endblock %} {% block content %}
{{ request.resolver_match.url_name }}
{{ request.resolver_match.app_name }}
{% if records %} {# The table for large screens #}{% trans "Date" context "Accounting|" %} | {% trans "Subject" context "Accounting|" %} | {% trans "Summary" context "Accounting|" %} | {% trans "Income" context "Accounting|" %} | {% trans "Expense" context "Accounting|" %} | {% trans "Balance" context "Accounting|" %} | {% trans "View" context "Accounting|" %} |
---|---|---|---|---|---|---|
{{ record.transaction.date|smart_date }} | {{ record.subject.title_zhtw }} | {{ record.summary }}{% if not record.transaction.is_balanced %} {% trans "Unbalanced" context "Accounting|" %} {% endif %}{% if record.transaction.has_order_hole %} {% trans "Need Reorder" context "Accounting|" %} {% endif %} | {{ record.credit_amount|default:""|intcomma:False }} | {{ record.debit_amount|default:""|intcomma:False }} | {{ record.amount|intcomma:False }} | {% trans "View" context "Accounting|" %} |
{% trans "There is currently no data." %}
{% endif %} {% endblock %}