Exemple #1
0
 def get_display_name(self) -> str:
     return UserUtils.build_display_name(self.first_name, self.last_name)
Exemple #2
0
 def get_display_address(self) -> str:
     return UserUtils.build_display_address(self.street, self.street_2,
                                            self.postcode, self.city)
Exemple #3
0
 def get_display_name(self):
     if self.is_company:
         return self.company_name
     return UserUtils.build_display_name(self.first_name, self.last_name)