Revised the period-chooser.html template to simplify the code to include it.

This commit is contained in:
2023-03-08 11:09:11 +08:00
parent 041a905fc0
commit ea7c194d7e
7 changed files with 36 additions and 48 deletions

View File

@ -54,9 +54,7 @@ First written: 2023/3/5
{% endwith %}
</div>
{% with period = report.period, period_chooser = report.period_chooser %}
{% include "accounting/report/include/period-chooser.html" %}
{% endwith %}
{% include "accounting/report/include/period-chooser.html" %}
{% include "accounting/report/include/search-modal.html" %}