mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
fix(crm): consolidate customer feature selection logic Introduce centralized `getEnabledCustomerFeature` helper to standardize feature selection across components. Replaces inconsistent filtering approaches with unified logic that prioritizes 'd-account' and 'd-no-account' features. Changes: - Add `getEnabledCustomerFeature` helper with unit tests - Add `CustomerFeatureKey` and `CustomerFeatureGroup` enums - Update customer-order-details-header component - Update pickup-shelf-details-header component - Update customer-result-list components - Update order-details-main-view component Ref: #5432