Change id to cv_id in list vehicles
This commit is contained in:
parent
46ad945686
commit
b210401150
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +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(),
|
'cv_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