Overview export: Allow to skip empty lines (Z#23219200) (#5825)

This commit is contained in:
Raphael Michel
2026-01-23 11:18:07 +01:00
committed by GitHub
parent baac963fa8
commit fd72e18a7f
2 changed files with 16 additions and 2 deletions

View File

@@ -337,7 +337,8 @@ class OverviewReport(Report):
date_until=d_end,
subevent_date_from=sd_start,
subevent_date_until=sd_end,
fees=True
fees=True,
skip_empty_lines=form_data.get("skip_empty_lines")
)
def _table_story(self, doc, form_data, net=False):
@@ -478,6 +479,10 @@ class OverviewReport(Report):
'Use the "Accounting report" in the export section instead.'
))
)
f.fields['skip_empty_lines'] = forms.BooleanField(
label=_("Skip empty lines"),
required=False,
)
return f.fields