+ Equipments +
++ Logs +
++ SKUs in Database +
+ ++ {queries[0].data ? queries[0].data.length : 0} +
++ Items in Database +
+ ++ {queries[1].data ? queries[1].data.length : 0} +
++ Functional Items +
+ ++ {queries[1].data + ? queries[1].data.filter( + (equipment) => equipment.status == "WORKING" + ).length + : 0} +
++ Broken Items +
+ ++ {queries[1].data + ? queries[1].data.filter( + (equipment) => equipment.status == "BROKEN" + ).length + : 0} +
+- SKUs in Database -
- -- {queries[0].data ? queries[0].data.length : 0} -
-- Items in Database -
- -- {queries[1].data ? queries[1].data.length : 0} -
-- Functional Items -
- -- {queries[1].data - ? queries[1].data.filter( - (equipment) => equipment.status == "WORKING" - ).length - : 0} -
-- Broken Items -
- -- {queries[1].data - ? queries[1].data.filter( - (equipment) => equipment.status == "BROKEN" - ).length - : 0} -
-- Equipments -
-- Logs -
-