feat(members): add membership_fee_type to overview pseudo fields
Allow Fee Type as selectable column in member overview dropdown.
This commit is contained in:
parent
0f51bc89c3
commit
5715a22b0c
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ defmodule MvWeb.MemberLive.Index.FieldVisibility do
|
||||||
alias Mv.Membership.Helpers.VisibilityConfig
|
alias Mv.Membership.Helpers.VisibilityConfig
|
||||||
|
|
||||||
# Single UI key for "Membership Fee Status"; only this appears in the dropdown.
|
# Single UI key for "Membership Fee Status"; only this appears in the dropdown.
|
||||||
# Groups is also a pseudo field (not a DB attribute, but displayed in the table).
|
# Groups and membership_fee_type are also pseudo fields (not in member_fields(), displayed in the table).
|
||||||
@pseudo_member_fields [:membership_fee_status, :groups]
|
@pseudo_member_fields [:membership_fee_status, :membership_fee_type, :groups]
|
||||||
|
|
||||||
# Export/API may accept this as alias; must not appear in the UI options list.
|
# Export/API may accept this as alias; must not appear in the UI options list.
|
||||||
@export_only_alias :payment_status
|
@export_only_alias :payment_status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue