pull/154/head
mariusrklein 8 months ago
parent 6388ccd15b
commit c3c207f64d

@ -366,7 +366,7 @@ class Member(Person):
def dav_badge_no_tag(self):
"""Returning the badge number stripped of strings and spaces"""
return "{" + ''.join(re.findall(r'\d', self.dav_badge_no)) + "}"
return "{" + ''.join(re.findall(r'\d', self.dav_badge_no))[-6:] + "}"
@property
def iban_valid(self):

Loading…
Cancel
Save