diff --git a/src/wutta_corepos/web/views/corepos/members.py b/src/wutta_corepos/web/views/corepos/members.py index 66c967e..19a6268 100644 --- a/src/wutta_corepos/web/views/corepos/members.py +++ b/src/wutta_corepos/web/views/corepos/members.py @@ -100,6 +100,12 @@ class MemberView(CoreOpMasterView): g.set_renderer('last_name', self.render_customer_attr) g.set_sorter('last_name', op_model.CustomerClassic.last_name) + # links + if self.has_perm('view'): + g.set_link('card_number') + g.set_link('first_name') + g.set_link('last_name') + def render_customer_attr(self, member, key, value): """ """ customer = member.customers[0]