Skip to content

Commit

Permalink
Add responsable phone number in export
Browse files Browse the repository at this point in the history
  • Loading branch information
tut-tuuut committed Nov 22, 2021
1 parent 586178b commit beb11e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aidants_connect_web/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,9 @@ class HabilitationRequestResource(resources.ModelResource):
widget=ManyToManyWidget(Aidant, field="email", separator="\n"),
)
responsable__phone = Field(
attribute="", column_name="Téléphone responsable Aidants Connect"
attribute="organisation__responsables",
column_name="Téléphone responsable Aidants Connect",
widget=ManyToManyWidget(Aidant, field="phone", separator="\n"),
)
last_name = Field(attribute="last_name", column_name="Nom de l'aidant à former")
first_name = Field(
Expand Down

0 comments on commit beb11e7

Please sign in to comment.