Moved getting the ReportUrl utility from the views to the report chooser template, to simplify the view in the accounting application.

This commit is contained in:
依瑪貓
2020-08-07 10:25:29 +08:00
parent 45ed53b085
commit 4f02dd88da
12 changed files with 25 additions and 30 deletions

View File

@ -52,7 +52,7 @@ First written: 2020/7/15
</a>
</div>
</div>
{% with current_report_icon="fas fa-money-bill-wave" current_report_title=_("Cash Summary") %}
{% with current_report_icon="fas fa-money-bill-wave" current_report_title=_("Cash Summary") cash_account=account %}
{% include "accounting/include/report-chooser.html" %}
{% endwith %}
<div class="btn-group">