Return only compatible batteries for customer vehicle. #461

This commit is contained in:
Korina Cordero 2020-08-07 07:05:42 +00:00
parent 54c20f5218
commit fb8dabc269

View file

@ -511,6 +511,7 @@ class VehicleController extends Controller
} }
// add all other batteries, because they want options // add all other batteries, because they want options
/*
foreach ($all_batts as $battery) foreach ($all_batts as $battery)
{ {
// if we already listed it // if we already listed it
@ -528,6 +529,7 @@ class VehicleController extends Controller
'warr_commercial' => $battery->getWarrantyCommercial(), 'warr_commercial' => $battery->getWarrantyCommercial(),
]; ];
} }
*/
/* /*
// NOTE: no need to order by price for control center / only for app // NOTE: no need to order by price for control center / only for app