Moved the material floating action button template to add new transactions from the "accounting/transaction/include" directory to the "accounting/include" directory, and renamed it from add-new-material-fab.html to add-txn-material-fab.htm, as it will also be used in the reports, not only the transaction management.

This commit is contained in:
依瑪貓 2023-03-04 18:40:00 +08:00
parent 9bfcd3c50c
commit 7d412b20d7
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{# {#
The Mia! Accounting Flask Project The Mia! Accounting Flask Project
add-new-material-fab.html: The material floating action buttons to add a new transaction add-txn-material-fab.html: The material floating action buttons to add a new transaction
Copyright (c) 2023 imacat. Copyright (c) 2023 imacat.

View File

@ -70,7 +70,7 @@ First written: 2023/3/4
</div> </div>
{% with types = report.txn_types %} {% with types = report.txn_types %}
{% include "accounting/transaction/include/add-new-material-fab.html" %} {% include "accounting/include/add-txn-material-fab.html" %}
{% endwith %} {% endwith %}
<div class="btn-group btn-actions mb-3 d-md-none"> <div class="btn-group btn-actions mb-3 d-md-none">

View File

@ -77,7 +77,7 @@ First written: 2023/2/18
</form> </form>
</div> </div>
{% include "accounting/transaction/include/add-new-material-fab.html" %} {% include "accounting/include/add-txn-material-fab.html" %}
{% if list %} {% if list %}
{% include "accounting/include/pagination.html" %} {% include "accounting/include/pagination.html" %}