Change id to cv_id in list vehicles

This commit is contained in:
Kendrick Chan 2018-02-04 12:54:14 +08:00
parent 46ad945686
commit b210401150

View file

@ -566,7 +566,7 @@ class APIController extends Controller
$wty_ex = $cv->getWarrantyExpiration()->format('Y-m-d');
$cv_list[] = [
'id' => $cv->getID(),
'cv_id' => $cv->getID(),
'mfg_id' => $cv->getVehicle()->getManufacturer()->getID(),
'make_id' => $cv->getVehicle()->getID(),
'name' => $cv->getName(),