mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
6df02d9e86216d069dced7df9042118e46501b47
feat(confirmation-list-item-action-card): improve action card visibility logic and add ordered state Enhance the action card display logic to show only when both feature flag and command/completion conditions are met. Add support for "Ordered" state to distinguish pending items from completed ones. Changes: - Add hasLoyaltyCollectCommand helper to check for LOYALTY_COLLECT_COMMAND - Update displayActionCard logic to require both Rücklage feature AND (loyalty collect command OR completion state) - Add ProcessingStatusState.Ordered to distinguish ordered vs completed items - Update isComplete to exclude ordered items from completion state - Move role-based visibility check to outer container level - Remove unused CSS class for completed state - Add comprehensive unit tests for new helpers The action card now correctly appears only for items that need user action, hiding for CallCenter role and for items without the required commands. Ref: #5459
feat: refactor return feature components; remove deprecated files and implement new search bar input
Hima
This project was generated with Angular CLI version 7.2.1.
Development server
Run ng serve --ssl for a dev server. Navigate to https://localhost:4200/. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Build
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Running unit tests
Run ng test to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
Description
Languages
TypeScript
86.9%
HTML
8.6%
SCSS
2.4%
JavaScript
1.3%
CSS
0.6%
Other
0.2%