Merge branch 'Warehouse/improve2' into 'master'

new update

See merge request fronk/thetool!1252
This commit is contained in:
Luca Haid
2025-04-24 11:39:43 +00:00
22 changed files with 992 additions and 337 deletions

View File

@@ -529,9 +529,6 @@ class WarehouseShippingNoteController extends TTCrud {
return $distance * 2;
}
$fromData = geocode($from);
$toData = geocode($to);
$distance = route($from, $to);
$roundedDistanceKm = round($distance / 1000, 0);