15 lines
558 B
Ruby
15 lines
558 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Copyright (c) 2026, Kreisjagdverband Bautzen e.V. This file is part of
|
|
# hitobito_kjv and licensed under the Affero General Public License version 3
|
|
# or later. See the COPYING file at the top-level directory.
|
|
|
|
# Feldauswahl im CSV-Import: "Beitrag bezahlt bis" nur für Kassier-Rollen anbieten.
|
|
module Kjv::CsvImportHelper
|
|
def application_person_fields
|
|
fields = super
|
|
return fields if can?(:manage_membership_fees, group)
|
|
|
|
fields.reject { |field| field.key.to_s == Kjv::MembershipFee::ATTR.to_s }
|
|
end
|
|
end
|