mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
fix(reward-print, reward-popup, reward-destination): improve reward cart stability and UX - fix: remove console.log statement from calculate-price-value helper - fix: add loading/pending state to print button to prevent duplicate prints - fix: debounce reward selection resource reloading to prevent race conditions - fix: correct reward cart item destination-info alignment and flex behavior - fix: support OrderType in OrderDestinationComponent alongside OrderTypeFeature - fix: use unitPrice instead of total for price calculations in reward items - refactor: update calculatePriceValue test descriptions for clarity - fix: fallback to order.orderType when features don't contain orderType The reward selection popup now properly waits for all resources to reload before resolving, preventing timing issues with cart synchronization. Print button shows pending state during print operations. Destination info components now handle both legacy OrderType and new OrderTypeFeature enums for better compatibility. Ref: #5442, #5445