Add id to list vehicles for API
This commit is contained in:
parent
59d76c3975
commit
3dff90da90
1 changed files with 1 additions and 0 deletions
|
|
@ -566,6 +566,7 @@ class APIController extends Controller
|
||||||
$wty_ex = $cv->getWarrantyExpiration()->format('Y-m-d');
|
$wty_ex = $cv->getWarrantyExpiration()->format('Y-m-d');
|
||||||
|
|
||||||
$cv_list[] = [
|
$cv_list[] = [
|
||||||
|
'id' => $cv->getID(),
|
||||||
'mfg_id' => $cv->getVehicle()->getManufacturer()->getID(),
|
'mfg_id' => $cv->getVehicle()->getManufacturer()->getID(),
|
||||||
'make_id' => $cv->getVehicle()->getID(),
|
'make_id' => $cv->getVehicle()->getID(),
|
||||||
'name' => $cv->getName(),
|
'name' => $cv->getName(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue