Files
yourpart3/backend/controllers/falukantController.js
Torsten Schulz (local) 9deda3147e
All checks were successful
Deploy to production / deploy (push) Successful in 2m49s
feat(falukant): add transport cost option to product price calculations
- Updated the `getProductPricesInCitiesBatch` method in FalukantService to accept an options parameter for including transport costs in price calculations.
- Modified the tax calculation logic to conditionally apply transport costs based on the new parameter, enhancing the accuracy of pricing based on regional differences.
- Adjusted the FalukantController to pass the includeTransportCosts option from the request body, improving flexibility in pricing queries.
2026-04-13 16:11:53 +02:00

25 KiB