Revised the date format in the journal entry order page, and removed the individual date in the page, as it is redundant.

This commit is contained in:
依瑪貓 2023-03-22 02:12:19 +08:00
parent d8afadda02
commit 61ee08fda2
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ First written: 2023/3/21
#} #}
<a class="small w-100 accounting-journal-entry-order-item" href="{{ url_for("accounting.journal-entry.detail", journal_entry=journal_entry)|accounting_append_next }}"> <a class="small w-100 accounting-journal-entry-order-item" href="{{ url_for("accounting.journal-entry.detail", journal_entry=journal_entry)|accounting_append_next }}">
<div> <div>
{{ journal_entry.date|accounting_format_date }}
{% if journal_entry.is_cash_disbursement %} {% if journal_entry.is_cash_disbursement %}
{{ A_("Cash Disbursement") }} {{ A_("Cash Disbursement") }}
{% elif journal_entry.is_cash_receipt %} {% elif journal_entry.is_cash_receipt %}

View File

@ -26,7 +26,7 @@ First written: 2023/2/26
<script src="{{ url_for("accounting.static", filename="js/journal-entry-order.js") }}"></script> <script src="{{ url_for("accounting.static", filename="js/journal-entry-order.js") }}"></script>
{% endblock %} {% endblock %}
{% block header %}{% block title %}{{ A_("Journal Entries on %(date)s", date=date) }}{% endblock %}{% endblock %} {% block header %}{% block title %}{{ A_("Journal Entries on %(date)s", date=date|accounting_format_date) }}{% endblock %}{% endblock %}
{% block content %} {% block content %}