Add the inventory flag in the response to get batteries call. #546

This commit is contained in:
Korina Cordero 2021-03-19 10:24:02 +00:00
parent 6c7ee7c58e
commit 2b4ca1450a

View file

@ -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();
];
}