Commit c06bd910 authored by Hussain Kashef's avatar Hussain Kashef

add group assignment count to Volunteers Xls

parent 2b96b4c2
Pipeline #50231 passed with stage
in 38 minutes and 40 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
......
......@@ -504,6 +504,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