code comment
This commit is contained in:
parent
f51e892a97
commit
2771d50ffe
@ -66,7 +66,7 @@ $fourn_id = GETPOST('fourn_id', 'int');
|
|||||||
$fk_supplier = GETPOST('fk_supplier', 'int');
|
$fk_supplier = GETPOST('fk_supplier', 'int');
|
||||||
$fk_entrepot = GETPOST('fk_entrepot', 'int');
|
$fk_entrepot = GETPOST('fk_entrepot', 'int');
|
||||||
|
|
||||||
//List all visible warehouses
|
// List all visible warehouses
|
||||||
$resWar = $db->query("SELECT rowid FROM " . MAIN_DB_PREFIX . "entrepot WHERE entity IN (" . $db->sanitize(getEntity('stock')) .")");
|
$resWar = $db->query("SELECT rowid FROM " . MAIN_DB_PREFIX . "entrepot WHERE entity IN (" . $db->sanitize(getEntity('stock')) .")");
|
||||||
$listofqualifiedwarehousesid = "";
|
$listofqualifiedwarehousesid = "";
|
||||||
$count = 0;
|
$count = 0;
|
||||||
@ -103,6 +103,7 @@ if (!$sortorder) {
|
|||||||
$sortorder = 'ASC';
|
$sortorder = 'ASC';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Define virtualdiffersfromphysical
|
||||||
$virtualdiffersfromphysical = 0;
|
$virtualdiffersfromphysical = 0;
|
||||||
if (!empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT)
|
if (!empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT)
|
||||||
|| !empty($conf->global->STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER)
|
|| !empty($conf->global->STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user