Add the inventory flag in the response to get batteries call. #546
This commit is contained in:
parent
6c7ee7c58e
commit
2b4ca1450a
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ class BatteryController extends APIController
|
|||
'container_size_name' => $csize_name,
|
||||
'date_update' => $batt->getDateUpdate()->format('YmdHis'),
|
||||
'flag_new' => $batt->isNew(),
|
||||
'flag_inventory' => $batt->isInventory();
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue