Add flag_activated field for warranties in resq API responses. #227
This commit is contained in:
parent
6893211ff0
commit
60cab330b3
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ class WarrantyController extends APIController
|
|||
'date_create' => (string) $warr->getDateCreate()->format('YmdHis'),
|
||||
'date_purchase' => (string) $warr->getDatePurchase()->format('Ymd'),
|
||||
'date_expire' => (string) $warr->getDateExpire()->format('Ymd'),
|
||||
'flag_activated' => (boolean) $warr->isActivated(),
|
||||
];
|
||||
|
||||
$date_claim = $warr->getDateClaim();
|
||||
|
|
|
|||
Loading…
Reference in a new issue