Show member number even when excluded
This commit is contained in:
parent
318b7878d8
commit
1f8a04ec5a
@ -3,7 +3,7 @@ class Contribution < ApplicationRecord
|
|||||||
has_paper_trail
|
has_paper_trail
|
||||||
|
|
||||||
def member_number
|
def member_number
|
||||||
member&.number
|
Member.unscoped.find(member_id).number
|
||||||
end
|
end
|
||||||
|
|
||||||
def member_display_name
|
def member_display_name
|
||||||
|
Loading…
Reference in New Issue
Block a user