mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix translation of desired stock (this is more clear)
This commit is contained in:
@@ -97,7 +97,8 @@ SelectWarehouseForStockDecrease=Choose warehouse to use for stock decrease
|
||||
SelectWarehouseForStockIncrease=Choose warehouse to use for stock increase
|
||||
NoStockAction=No stock action
|
||||
LastWaitingSupplierOrders=Orders waiting for receptions
|
||||
DesiredStock=Desired minimum stock
|
||||
DesiredStock=Desired optimal stock
|
||||
DesiredStockDesc=This stock amount will be the value used to fill the stock by replenishment feature.
|
||||
DesiredMaxStock=Desired maximum stock
|
||||
StockToBuy=To order
|
||||
Replenishment=Replenishment
|
||||
|
||||
@@ -490,7 +490,8 @@ if ($id > 0 || $ref)
|
||||
print '</td></tr>';
|
||||
|
||||
// Desired stock
|
||||
print '<tr><td>'.$form->editfieldkey("DesiredStock",'desiredstock',$object->desiredstock,$object,$user->rights->produit->creer).'</td><td colspan="2">';
|
||||
print '<tr><td>'.$form->editfieldkey($form->textwithpicto($langs->trans("DesiredStock"), $langs->trans("DesiredStockDesc"), 1),'desiredstock',$object->desiredstock,$object,$user->rights->produit->creer);
|
||||
print '</td><td colspan="2">';
|
||||
print $form->editfieldval("DesiredStock",'desiredstock',$object->desiredstock,$object,$user->rights->produit->creer);
|
||||
print '</td></tr>';
|
||||
|
||||
@@ -503,7 +504,7 @@ if ($id > 0 || $ref)
|
||||
$text_stock_options.= (! empty($conf->global->STOCK_CALCULATE_ON_SUPPLIER_VALIDATE_ORDER)?$langs->trans("ReStockOnValidateOrder").'<br>':'');
|
||||
$text_stock_options.= (! empty($conf->global->STOCK_CALCULATE_ON_SUPPLIER_DISPATCH_ORDER)?$langs->trans("ReStockOnDispatchOrder").'<br>':'');
|
||||
print '<tr><td>';
|
||||
print $form->textwithtooltip($langs->trans("PhysicalStock"), $text_stock_options, 2, 1, img_picto('', 'info'), '', 2);
|
||||
print $form->textwithpicto($langs->trans("PhysicalStock"), $text_stock_options, 1);
|
||||
print '</td>';
|
||||
print '<td>'.$object->stock_reel;
|
||||
if ($object->seuil_stock_alerte != '' && ($object->stock_reel < $object->seuil_stock_alerte)) print ' '.img_warning($langs->trans("StockLowerThanLimit"));
|
||||
|
||||
Reference in New Issue
Block a user