|
|
|
|
@ -210,9 +210,9 @@ async def get_all(
|
|
|
|
|
"location_tag": row.location_tag,
|
|
|
|
|
"itemnum": row.itemnum,
|
|
|
|
|
"sparepart_name": row.sparepart_name,
|
|
|
|
|
"total_parts_used": float(row.total_parts_used or 0),
|
|
|
|
|
"parts_consumed_in_oh": float(row.total_parts_used or 0),
|
|
|
|
|
"avg_cost": float(row.avg_cost or 0),
|
|
|
|
|
"avg_inventory_balance": float(row.avg_inventory_balance or 0),
|
|
|
|
|
"inv_curbaltotal": float(row.avg_inventory_balance or 0),
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
return equipment_parts
|
|
|
|
|
|