diff --git a/templates/roll_calculator.html b/templates/roll_calculator.html index cd34bdf..5830ede 100644 --- a/templates/roll_calculator.html +++ b/templates/roll_calculator.html @@ -793,7 +793,7 @@
- +
diff --git a/tests/test_transport_calculation.py b/tests/test_transport_calculation.py index 0489fa2..9c79346 100644 --- a/tests/test_transport_calculation.py +++ b/tests/test_transport_calculation.py @@ -31,8 +31,8 @@ class TransportCalculationTests(unittest.TestCase): def test_active_presets_match_golden_browser_results(self): expected = { "container_20ft": (8, "Geometry", [21, 19, 8], (2, 2, 2)), - "container_40ft": (24, "Geometry", [30, 40, 24], (6, 2, 2)), - "container_40ft_hc": (24, "Geometry", [30, 46, 24], (6, 2, 2)), + "container_40ft": (24, "Weight", [24, 40, 24], (6, 2, 2)), + "container_40ft_hc": (24, "Weight", [24, 46, 24], (6, 2, 2)), "lkw_sattelzug": (24, "Weight", [24, 54, 24], (6, 2, 2)), "lkw_tandem": (24, "Geometry", [25, 54, 24], (6, 2, 2)), } diff --git a/transport_calculation.py b/transport_calculation.py index 429d98e..694b586 100644 --- a/transport_calculation.py +++ b/transport_calculation.py @@ -29,8 +29,8 @@ class TransportPreset: # Preserve the active browser order and values exactly. TRANSPORT_PRESETS = ( TransportPreset("container_20ft", "20ft Container", 5.90, 2.35, 2.39, 21600), - TransportPreset("container_40ft", "40ft Container", 12.19, 2.35, 2.39, 30480), - TransportPreset("container_40ft_hc", "40ft High Cube", 12.19, 2.35, 2.69, 30480), + TransportPreset("container_40ft", "40ft Container", 12.19, 2.35, 2.39, 24000), + TransportPreset("container_40ft_hc", "40ft High Cube", 12.19, 2.35, 2.69, 24000), TransportPreset("lkw_sattelzug", "LKW Sattelzug", 13.50, 2.50, 2.70, 24000), TransportPreset("lkw_tandem", "LKW Tandem", 13.50, 2.50, 2.70, 25000), )