Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEOPLE: Anrede im Export #71

Closed
1 of 3 tasks
olibrian opened this issue Aug 29, 2022 · 0 comments · Fixed by #141
Closed
1 of 3 tasks

PEOPLE: Anrede im Export #71

olibrian opened this issue Aug 29, 2022 · 0 comments · Fixed by #141

Comments

@olibrian
Copy link
Member

olibrian commented Aug 29, 2022

Die SWW brauchen auf ihren Personen-Export eine zusätzliche Spalte Anrede. Im SWW Wagon gibt es auf der Person ein Attribut "Benutzerdefinierte Anrede". Dies wir für spezielle Fälle verwendet. Siehe auch #60

Anforderung seitens SWW:
Auf dem Export "alle Angaben" hat es aktuell eine Spalte "Benutzerdefinierte Anrede" sowie das Feld "Geschlecht". Damit die Anrede nicht nachträglich vie Formel aus dem Geschlecht errechnet werden muss, hätten sie gerne eine zusätzliche Spalte "Anrede" auf dem Export "alle Angaben".
Dies Spalte "Anrede" soll sich wie folgt aus dem Feld "Geschlecht" ableiten: männlich = Herr / weiblich = Frau / unbekannt = unbekannt
Die neue Spalte soll zusätzlich zur Spalte "Benutzerdefinierte Anrede auf dem Export vorhanden sein.

Out of Scope: Prüfen wie eine generische Lösung mit hitobito/hitobito#1141 Sinn machen würde.

Tech-Spec

ToDo

  • Neues Computed Attribute 'sww_salutation' im people full export (SWW wagon Erweiterung)
    • name 'sww_salutation' wird hier gewählt damit später beim Harmonisieren der Salutation keinen Konflikt generieren
    • simples Mapping wie oben beschrieben
  • Neue übersetzung im sww wagon für das computed attribute
  • Export manuell testen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants