Skip to content
Snippets Groups Projects
Commit b4e7187a authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Implement get_person()

parent 3e709cbb
No related branches found
No related tags found
1 merge request!18Add link to EditPersonView
Pipeline #60781 passed
......@@ -271,6 +271,9 @@ class EventRegistration(ExtensibleModel):
RegistrationState, verbose_name=_("States"), related_name="registrations"
)
def get_person(self):
return self.person
def get_invoice(self):
# FIXME Maybe do not hard-code this
client, __ = Client.objects.get_or_create(name="Teckids e.V.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment