mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Overview export: Allow to skip empty lines (Z#23219200) (#5825)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user