Update replenish.php
This commit is contained in:
parent
9018ec7eb2
commit
3242835111
@ -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.
|
$virtualdiffersfromphysical = 1; // According to increase/decrease stock options, virtual and physical stock may differs.
|
||||||
}
|
}
|
||||||
|
|
||||||
$usevirtualstock = !empty($conf->global->STOCK_USE_VIRTUAL_STOCK);
|
$usevirtualstock = !empty($conf->global->STOCK_USE_VIRTUAL_STOCK);
|
||||||
|
if ($mode == 'physical') $usevirtualstock = 0;
|
||||||
if ($mode == 'virtual') $usevirtualstock = 1;
|
if ($mode == 'virtual') $usevirtualstock = 1;
|
||||||
|
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user