Revised the add-txn-material-fab.html template to simplify the code to include it.

This commit is contained in:
2023-03-09 06:59:32 +08:00
parent 5c47e63ae3
commit 21b3320e66
8 changed files with 10 additions and 24 deletions

View File

@ -40,9 +40,7 @@ First written: 2023/3/5
{% endwith %}
</div>
{% with txn_types = report.txn_types %}
{% include "accounting/report/include/add-txn-material-fab.html" %}
{% endwith %}
{% include "accounting/report/include/add-txn-material-fab.html" %}
<div class="btn-group btn-actions mb-3 d-md-none">
{% with use_report_chooser = true,