Skip to content

Commit

Permalink
Fix : Quantity displayed for virtual stock explanations was wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-maxime committed Mar 25, 2015
1 parent 2a46878 commit b250c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/product/stock/product.php
Expand Up @@ -343,7 +343,7 @@
if (! empty($conf->commande->enabled))
{
if ($found) print '<br>'; else $found=1;
print $langs->trans("CustomersOrdersRunning").': '.($product->stats_commande['qty']-$product->stats_sendings['qty']);
print $langs->trans("CustomersOrdersRunning").': '.($product->stats_commande['qty']-$product->stats_expedition['qty']);
$result=$product->load_stats_commande(0,'0');
if ($result < 0) dol_print_error($db,$product->error);
print ' ('.$langs->trans("Draft").': '.$product->stats_commande['qty'].')';
Expand Down

0 comments on commit b250c55

Please sign in to comment.