Add addresses to check-in lists

This commit is contained in:
Raphael Michel
2020-10-14 11:34:41 +02:00
parent f5d93eaffa
commit 6402f0d86e
2 changed files with 34 additions and 18 deletions

View File

@@ -432,6 +432,14 @@ class CSVCheckinList(CheckInListMixin, ListExporter):
headers.append(_('Seat zone'))
headers.append(_('Seat row'))
headers.append(_('Seat number'))
headers += [
_('Company'),
_('Address'),
_('ZIP code'),
_('City'),
_('Country'),
pgettext('address', 'State'),
]
yield headers
yield self.ProgressSetTotal(total=qs.count())
@@ -530,6 +538,14 @@ class CSVCheckinList(CheckInListMixin, ListExporter):
else:
row += ['', '', '', '', '']
row += [
op.street or '',
op.zipcode or '',
op.city or '',
op.country if op.country else '',
op.state or '',
]
yield row
def get_filename(self):