Return only compatible batteries for customer vehicle. #461
This commit is contained in:
parent
54c20f5218
commit
fb8dabc269
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue