hitobito-kjv/app/domain/kjv/passes/wallet_data_provider.rb
KJV Bautzen e9675d5d0e Phase 1: Beitragsstatus und Mitgliedsausweis 🤖
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 20:19:06 +02:00

12 lines
484 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.
# Daten des KJV-Ausweises für Core-Ansichten und eine spätere Wallet-Anbindung.
class Kjv::Passes::WalletDataProvider < ::Passes::WalletDataProvider
def member_number
pass.person.ljv_membership_number.presence || "–"
end
end