mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
✨ feat(crm): set selected customer when navigating to Prämienshop Implements autoTriggerContinueFn pattern to properly set customer context before navigating to reward shop from customer loyalty cards view. Changes: - Add output event to customer-loyalty-cards component (library layer) - Handle navigation at app layer (kundenkarte-main-view) to respect module boundaries - Use existing autoTriggerContinueFn pattern from details-main-view - Inject NavigationStateService and CustomerSearchNavigation services - Preserve context with returnUrl and autoTriggerContinueFn flag This ensures customer selection logic (_setCustomer, _setBuyer, _setSelectedCustomerIdInTab) executes before navigating to the reward shop, matching the behavior of the continue() method in CustomerDetailsViewMainComponent. Refs: #5485 Related work items: #5485