From fb8dabc269e8a8adc023715d7753a1c0eac9b324 Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Fri, 7 Aug 2020 07:05:42 +0000 Subject: [PATCH] Return only compatible batteries for customer vehicle. #461 --- src/Controller/VehicleController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/VehicleController.php b/src/Controller/VehicleController.php index 7c388062..1a801322 100644 --- a/src/Controller/VehicleController.php +++ b/src/Controller/VehicleController.php @@ -511,6 +511,7 @@ class VehicleController extends Controller } // add all other batteries, because they want options + /* foreach ($all_batts as $battery) { // if we already listed it @@ -528,6 +529,7 @@ class VehicleController extends Controller 'warr_commercial' => $battery->getWarrantyCommercial(), ]; } + */ /* // NOTE: no need to order by price for control center / only for app