mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
4fc5f167215eb7e30a8a20c9d211a5a8da3421d1
Refactor checkout data-access layer to use centralized adapter pattern for converting between CRM and Checkout domain models. Extract business logic into dedicated helper modules and implement complete order button component for reward shopping cart. Changes: - Add 8 new adapters (availability, branch, customer, logistician, payer, product-number, shipping-address, shopping-cart-item) with comprehensive unit tests - Create 3 helper modules: checkout-analysis, checkout-business-logic, checkout-data for separation of concerns - Implement complete-order-button component with Tailwind styling for reward shopping cart - Extend checkout models with Buyer and Payer types, update OrderOptions interface - Add CustomerType, BuyerType, PayerType enums to common and CRM data-access layers - Refactor customer component address selection to use new CustomerAdapter and ShippingAddressAdapter - Update CheckoutService with refactored logic using new adapters and helpers - Update CrmTabMetadataService to use consistent payer/shipping address ID tracking - Add comprehensive documentation for checkout completion flow and service architecture
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%