Revised the report-chooser.html template to simplify the reports.

This commit is contained in:
2023-03-08 07:51:48 +08:00
parent 52b5151fe0
commit 6e1d35eda4
8 changed files with 16 additions and 44 deletions

View File

@ -57,9 +57,7 @@ First written: 2023/3/5
</ul>
</div>
{% endif %}
{% with report_chooser = report.report_chooser %}
{% include "accounting/report/include/report-chooser.html" %}
{% endwith %}
{% include "accounting/report/include/report-chooser.html" %}
{% include "accounting/report/include/currency-chooser.html" %}
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
@ -91,9 +89,7 @@ First written: 2023/3/5
{% endwith %}
<div class="btn-group btn-actions mb-3 d-md-none">
{% with report_chooser = report.report_chooser %}
{% include "accounting/report/include/report-chooser.html" %}
{% endwith %}
{% include "accounting/report/include/report-chooser.html" %}
{% include "accounting/report/include/currency-chooser.html" %}
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">