mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
feat(remission-list, search-item-to-remit-dialog): simplify dialog flow by removing conditional views Refactor the search item to remit dialog to use a dedicated quantity and reason dialog instead of conditional views within the main dialog. This change improves user experience by providing clearer navigation and better separation of concerns. Key changes: - Remove item signal and conditional template logic from SearchItemToRemitDialogComponent - Create new SelectRemiQuantityAndReasonDialogComponent for quantity/reason selection - Update SearchItemToRemitComponent to open quantity dialog instead of setting item state - Simplify dialog data interface by removing isDepartment property - Improve stock filtering logic to show only items with available stock - Fix import path for QuantityAndReason interface This refactor eliminates complex state management within the dialog and provides a more intuitive user flow with dedicated dialogs for each step. Ref: #5326