Resolve "Advance order auto assign algorithm" #1234

Merged
jankstudio merged 3 commits from 378-advance-order-auto-assign-algorithm into master 2020-04-15 07:18:03 +00:00
Showing only changes of commit 7aebe13d1f - Show all commits

View file

@ -994,7 +994,8 @@ class APIController extends Controller implements LoggedController
($jo->getServicetype() == ServiceType::BATTERY_REPLACEMENT_WARRANTY))
{
// get nearest hub
$nearest_hub = $this->findNearestHubWithInventory($jo, $batt, $em, $map_tools, $im);
// $nearest_hub = $this->findNearestHubWithInventory($jo, $batt, $em, $map_tools, $im);
$nearest_hub = $this->findNearestHub($jo, $em, $map_tools);
}
else
{