Show member number even when excluded

This commit is contained in:
Hugo Peixoto 2023-03-19 18:56:26 +00:00
parent 318b7878d8
commit 1f8a04ec5a
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ class Contribution < ApplicationRecord
has_paper_trail
def member_number
member&.number
Member.unscoped.find(member_id).number
end
def member_display_name