Resolve "Fuel type and status condition of customer vehicle not saved correctly via app" #1587

Merged
korina.cordero merged 3 commits from 662-fuel-type-and-status-condition-of-customer-vehicle-not-saved-correctly-via-app into master 2022-05-02 06:39:27 +00:00
Showing only changes of commit 3e61bdb89c - Show all commits

View file

@ -631,7 +631,7 @@ class APIController extends Controller implements LoggedController
->setModelYear($req->request->get('model_year'))
->setColor($req->request->get('color'))
->setFuelType($this->normalizeName($req->request->get('fuel_type')))
->setStatusCondition($this->normalizename($req->request->get('condition')));
->setStatusCondition($this->normalizeName($req->request->get('condition')));
// set warranty code and expiration
// TODO: check warranty requirements