This commit is contained in:
Laurent Destailleur 2023-03-27 20:30:18 +02:00
parent ec7627572f
commit 11b9c499e9
2 changed files with 6 additions and 3 deletions

View File

@ -99,7 +99,7 @@ RealStockWillAutomaticallyWhen=The real stock will be modified according to this
VirtualStock=Virtual stock
VirtualStockAtDate=Virtual stock at a future date
VirtualStockAtDateDesc=Virtual stock once all the pending orders that are planned to be processed before the chosen date will be finished
VirtualStockDesc=Virtual stock is the calculated stock available once all open/pending actions (that affect stocks) are closed (purchase orders received, sales orders shipped, manufacturing orders produced, etc)
VirtualStockDesc=Virtual stock is the stock that will remain after all open/pending actions (that affect stocks) have been performed (purchase orders received, sales orders shipped, manufacturing orders produced, etc)
AtDate=At date
IdWarehouse=Id warehouse
DescWareHouse=Description warehouse

View File

@ -685,8 +685,10 @@ if (!empty($salert)) $param .= '&salert='.urlencode($salert);
$stocklabel = $langs->trans('Stock');
$stocklabelbis = $langs->trans('Stock');
$stocktooltip = '';
if ($usevirtualstock == 1) {
$stocklabel = $langs->trans('VirtualStock');
$stocktooltip = $langs->trans("VirtualStockDesc");
}
if ($usevirtualstock == 0) {
$stocklabel = $langs->trans('PhysicalStock');
@ -699,7 +701,6 @@ $texte = $langs->trans('Replenishment');
print '<br>';
print '<div class="div-table-responsive-no-min">';
if (!empty($conf->global->REPLENISH_ALLOW_VARIABLESIZELIST)) {
print_barre_liste(
@ -733,6 +734,8 @@ if (!empty($conf->global->REPLENISH_ALLOW_VARIABLESIZELIST)) {
);
}
print '<div class="div-table-responsive-no-min">';
print '<table class="liste centpercent">';
// Fields title search
@ -776,7 +779,7 @@ if (isModEnabled("service") && $type == 1) {
}
print_liste_field_titre('DesiredStock', $_SERVER["PHP_SELF"], 'p.desiredstock', $param, '', '', $sortfield, $sortorder, 'right ');
print_liste_field_titre('StockLimitShort', $_SERVER["PHP_SELF"], 'p.seuil_stock_alerte', $param, '', '', $sortfield, $sortorder, 'right ');
print_liste_field_titre($stocklabel, $_SERVER["PHP_SELF"], 'stock_physique', $param, '', '', $sortfield, $sortorder, 'right ');
print_liste_field_titre($stocklabel, $_SERVER["PHP_SELF"], 'stock_physique', $param, '', '', $sortfield, $sortorder, 'right ', $stocktooltip);
if (!empty($conf->global->STOCK_ALLOW_ADD_LIMIT_STOCK_BY_WAREHOUSE) && $fk_entrepot > 0) {
print_liste_field_titre($stocklabelbis, $_SERVER["PHP_SELF"], 'stock_real_warehouse', $param, '', '', $sortfield, $sortorder, 'right ');
}