diff --git a/src/Controller/CustomerAppAPI/VehicleController.php b/src/Controller/CustomerAppAPI/VehicleController.php index a4be2ca5..446f43b3 100644 --- a/src/Controller/CustomerAppAPI/VehicleController.php +++ b/src/Controller/CustomerAppAPI/VehicleController.php @@ -333,6 +333,9 @@ class VehicleController extends ApiController 'transaction_status' => $gt->getStatus(), 'premium_amount' => (string)bcdiv($gt->getAmount(), 100), // NOTE: hard expressing as string so it's consistent ]; + + // get information changelog + $insurance['changelog'] = $iobj->getMetadata()['changes'] ?? []; } $row['latest_insurance'] = $insurance;