Replace getCustomerByIdOrCustomerNumber with getUserByCustomerNumber across services and remove deprecated method.

This commit is contained in:
Jeppe Bundgaard
2026-01-06 15:50:59 +01:00
parent 49589de98e
commit 0eddf69ae4
5 changed files with 12 additions and 27 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ class vehiclesRoute
} else {
// Set the customer_id to the one from the request
$target_user = (new users_o());
$target_user->getCustomerByIdOrCustomerNumber((int)self::getParameter('customer_id'));
$target_user->getUserByCustomerNumber((int)self::getParameter('customer_id'));
}
}
}