diff --git a/tailbone_corepos/views/people.py b/tailbone_corepos/views/people.py index 8b171c2..e5432ac 100644 --- a/tailbone_corepos/views/people.py +++ b/tailbone_corepos/views/people.py @@ -71,3 +71,12 @@ class PersonView(base.PeopleView): self.rattail_config, customer['number']) return data + + def get_context_member(self, member): + data = super(PersonView, self).get_context_member(member) + + # add CORE Office URL for member account + data['view_corepos_url'] = core_office_customer_account_url( + self.rattail_config, member['id']) + + return data