- 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.