Commit 7eedad2f authored by Hugo Hörnquist's avatar Hugo Hörnquist

Merge remote-tracking branch 'apharius/master'

parents da769a8f 33cfafaf
......@@ -779,7 +779,7 @@ void MainWindow::clear_stockDiffTemp()
*/
QVariant MainWindow::get_acquistion_stock_value()
{
qlonglong total_price;
qlonglong total_price = 0;
QSqlQuery tQuery("SELECT s.product_id as id, s.active as active, p.name "
"FROM stock s INNER JOIN products p "
"ON s.product_id = p.id");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment