Force odometer to be int #540
This commit is contained in:
parent
8310e162dc
commit
fd7ab1f858
1 changed files with 1 additions and 1 deletions
|
|
@ -2851,7 +2851,7 @@ class APIController extends Controller implements LoggedController
|
|||
'address' => $warr->getCustomerAddress() ?? '',
|
||||
];
|
||||
$other_data = [
|
||||
'odometer' => $warr->getOdometer() ?? '',
|
||||
'odometer' => (int) $warr->getOdometer() ?? 0,
|
||||
'date_purchase' => $date_purchase_cust,
|
||||
'invoice' => $invoice_url,
|
||||
'warr_card' => $warr_card_url,
|
||||
|
|
|
|||
Loading…
Reference in a new issue