Commit 59df24a3 authored by Beat Seeliger's avatar Beat Seeliger

Merge branch 'feat/volunteers_add_group_assignment_count_to_xls' into 'develop'

add group assignment count to Volunteers Xls

See merge request !957
parents 7014893a c06bd910
Pipeline #50243 passed with stage
in 42 minutes and 3 seconds
......@@ -28,6 +28,7 @@ wb.add_worksheet(name: 'Freiwillige') do |sheet|
t_attr(:created_at),
t_attr(:updated_at),
t_attr(:assignment_count),
t_attr(:group_assignment_count),
t_attr(:waive_alternative),
t_attr(:intro_course)
]
......@@ -61,6 +62,7 @@ wb.add_worksheet(name: 'Freiwillige') do |sheet|
l(volunteer.created_at.localtime),
l(volunteer.updated_at.localtime),
volunteer.assignments.count,
volunteer.group_assignments.count,
volunteer.waive,
volunteer.intro_course
], types: cell_types, style: cell_styles
......
......@@ -505,6 +505,7 @@ de:
additional_nationality: Zusätzliche Nationalität
additional_phone_numbers: Zusätzliche Telefonnummern
assignment_count: Anzahl begleitungen
group_assignment_count: Anzahl Gruppenangebote
availability: Verfügbarkeit
created_at: Anmeldedatum
external: Extern
......
......@@ -33,6 +33,7 @@ class VolunteersXlsxExportTest < ActionDispatch::IntegrationTest
'Anmeldedatum',
'Aktualisiert am',
'Anzahl begleitungen',
'Anzahl Gruppenangebote',
'Spesenverzicht',
'Einführungskurs besucht'
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment