mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
fix(reward-confirmation): improve action card visibility and status messages Refactor confirmation action card to only display for items with 'Rücklage' feature. Replace boolean completion check with state-based system using ProcessingStatusState enum (Cancelled, NotFound, Collected). Add specific completion messages for each state to provide clearer user feedback. Changes: - Add displayActionCard computed signal to check for 'Rücklage' feature - Replace getProcessingStatusCompleted with getProcessingStatusState helper - Add ProcessingStatusState enum with three states (Cancelled, NotFound, Collected) - Update completion messages in template to use @switch based on processingStatus - Wrap entire action card in @if block checking displayActionCard - Add proper test coverage for new helper function - Update component spec to provide required dependencies Ref: #5391, #5404, #5406