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:
Moritz 2026-02-23 23:53:45 +01:00
parent 0f51bc89c3
commit 5715a22b0c
Signed by: moritz
GPG key ID: 1020A035E5DD0824

View file

@ -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