- start from scratch fixed.
- resetting report store if reporting page is called.
- destination incomplete warning fixed for d2d
- price edit formatting fixed
- report: differentiating between d2d, transport with/without mainrun.
BACKEND:
- user/groups: fixed the "/api/groups" <-> /api/groups/" error
- added missing d2d result in a calculation result.
- reporting: allow only valid calculations within reporting.
- routing: fixing remove duplicate method.
- replacing doubles with big decimals
- ... etc
- Moved calculation to worker threads.
- Added pre-calculation checks so that a calculation isn't started with insufficient data.
- Missing lead time for D2D added.
- Grouping for reporting works now as expected.
FRONTEND:
- Reporting implemented. Material and Valid period added to report.
- Fixed Workflow for the calculation user. Archive/Delete functionality is added.
- Missing lead time for D2D added.
Introduce Python scripts to convert node and node predecessor data from Excel files into SQL INSERT statements. Includes support for ISO code mappings, geo-position parsing, node type determination, and automated chain creation. Also added sample Excel files (`nodes.xlsx`, `pre_nodes.xlsx`) for testing and reference.
Deleted `NodePredecessor` class and legacy query structures. Improved repository queries with grouped logic and added support for optional fields like `is_required`. Updated SQL schema and data to include additional countries (`BQ`, `XK`) and align unique constraints. Introduced `SecurityConfig` for profile-specific security chains.
This commit restructures various calculation services, consolidating and relocating them to improve modularity and clarity. Additionally, it introduces initial SQL insert statements for 'node' entities, laying the groundwork for data mapping and geography-based functionalities.
Replaced `ContainerRateType` with `TransportType` for streamlined rate handling across multiple services. Introduced new `ContainerCalculationResult` logic, integrated weight/volume constraints, and added container type-specific properties. Updated schemas to include geolocation and country ID data for premises and destinations. Improved consistency and correctness in service logic.
Introduce `CalculationExecutionService` and `ContainerCalculationService` for handling premise and container-level calculations, along with a new `ContainerCalculationResult` model. Updated `PackagingDimension` to include a `withTolerance` method for dimension adjustments. Renamed `CalculationController` to `PremiseController` for improved clarity. Enhanced `ExcelReportingService` for accurate header and data mapping during report generation.
Reorganize report-related DTOs, transforming and flattening logic for better modularity and maintainability. Introduce new enums and fields related to transport and route types, ensuring seamless replacement of deprecated ones like `RouteType`. Extend database schema to support new fields, improving flexibility in data handling.
Removed redundant calculation job-related models, simplifying the codebase. Replaced usage of aggregate references with primitive IDs in CalculationJob for better performance. Improved repository methods for efficient node retrieval and updated schema.sql to restructure node references.
Deleted the unused `RoutingService2` class to simplify the codebase. Added the logic for creating and duplicating premises in `PremiseCreationService`, including filtering and handling combinations of material and supplier IDs.
Updated repository classes to replace "node" with "chain" for clarity, aligning with domain terminology. Introduced `RoutingService2` to handle route calculation logic, supporting recursive chain resolution and optimized route determination.
Deleted `DestinationService` and `ValidityPeriodService` as they were obsolete. Refactored several classes, including `PremisesService` and `MatrixRateExcelMapper`, to improve package alignment and streamline dependencies. Enhanced `PremiseRepository` with cleaner query construction, better parameter handling, and support for resolving chains of predecessors in `NodeRepository`.
Deleted unused classes and entities like `AllUpdateDTO`, `MasterDataUpdateDTO`, and `PremissRoute`. Updated `PremisesService` and repository structure for improved functionality and maintainability, including refactoring queries and adding mappers.
Implemented methods to extract and map data from Excel sheets for various entities such as rates, nodes, and packaging. Enhanced header validation and added support for parsing Excel inputs in the `BulkFileProcessingService`.
Consolidated hidden sheet creation logic into a unified structure to improve code maintainability and reduce duplication. Adjusted mappers to ensure bulk file-specific hidden sheets are created, styled, and protected consistently. Added support for a configurable sheet password and introduced a new method in BulkExportService for enhanced period handling.
Replaced `TemplateGenerationService` with `TemplateExportService` and introduced `ExcelMapper` classes for enhanced sheet handling. Updated the database schema to refine node predecessor handling and added new utility methods in repositories. These changes aim to improve bulk operations and data consistency.
Removed CountryMatrixRate and integrated improved validity period management, including new repositories and services. Introduced ValidityPeriodService, updated route mappings in RateController, and replaced PropertySetState with ValidityPeriodState. Adjusted related classes for consistency and clarity.
The commit eliminates packaging-related DTOs, services, and transformers that are no longer in use. It introduces functionality to support user node management, including repository methods, new DTOs, and a GeoApiService placeholder. Adjustments were also made to schema constraints and node transformations.