Update replenish.php

This commit is contained in:
Laurent Destailleur
2019-11-22 14:47:15 +01:00
committed by GitHub
parent 9018ec7eb2
commit 3242835111

View File

@@ -89,7 +89,9 @@ if (!empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT)
{
$virtualdiffersfromphysical = 1; // According to increase/decrease stock options, virtual and physical stock may differs.
}
$usevirtualstock = !empty($conf->global->STOCK_USE_VIRTUAL_STOCK);
if ($mode == 'physical') $usevirtualstock = 0;
if ($mode == 'virtual') $usevirtualstock = 1;
$parameters = array();