diff --git a/src/accounting/templates/accounting/report/include/toolbar-buttons.html b/src/accounting/templates/accounting/report/include/toolbar-buttons.html index a72fc2a..7c68ddc 100644 --- a/src/accounting/templates/accounting/report/include/toolbar-buttons.html +++ b/src/accounting/templates/accounting/report/include/toolbar-buttons.html @@ -106,10 +106,17 @@ First written: 2023/3/8 {{ report.period.desc|title }} {% endif %} - - - {{ A_("Download") }} - +{% if report.has_data %} + + + {{ A_("Download") }} + +{% else %} + +{% endif %} {% if use_search %}