Joel Grunbaum
2022-01-12 e8c910e52d1807e2fcca3b43d80a9df6acac5387
bom.cpp
@@ -45,9 +45,11 @@
        for (auto &i : bs) {
            if (i.second.stationId == bom_id) {
                // Should be apparent temp
                i.second.bomPrice = std::stod(n->first_node()->first_node()->first_node()->first_node()->value());
                std::cout << i.second.product << ", " << i.second.stationId << ", " << i.second.bomPrice << std::endl;
                break;
            i.second.bomPrice = std::stod(n->first_node()
                                              ->first_node()
                                              ->first_node()
                                              ->first_node()
                                              ->value());
            }
        }
    }