Fix: traduction

Fix: ajout d'un produit dans une facture
This commit is contained in:
Regis Houssin 2007-12-08 19:28:20 +00:00
parent e7549a19b3
commit d65a2fcae2
3 changed files with 9 additions and 6 deletions

View File

@ -43,4 +43,5 @@ DeStockReStockOnValidateOrder=Decrease/increase stocks on orders notes
DeStockReStockOnShipment=Decrease/increase stocks on shipment DeStockReStockOnShipment=Decrease/increase stocks on shipment
StockAvailable=Available stock StockAvailable=Available stock
StockInstant=Real stock StockInstant=Real stock
StockLimit=Limit StockLimitShort=Limit
StockLimit=Stock limit

View File

@ -43,4 +43,5 @@ DeStockReStockOnValidateOrder=D
DeStockReStockOnShipment=Décrémente/Incrémente les stocks sur les expéditions DeStockReStockOnShipment=Décrémente/Incrémente les stocks sur les expéditions
StockAvailable=Stock disponible StockAvailable=Stock disponible
StockInstant=Stock actuel StockInstant=Stock actuel
StockLimit=Seuil StockLimitShort=Seuil
StockLimit=Seuil stock

View File

@ -493,6 +493,7 @@ if ($_POST["action"] == 'addinfacture' && $user->rights->facture->creer)
'', '',
'', '',
'', '',
'',
$price_base_type, $price_base_type,
$pu_ttc $pu_ttc
); );
@ -609,7 +610,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer)
// Stock min level // Stock min level
if ($_GET["type"] != 1 && $conf->stock->enabled) if ($_GET["type"] != 1 && $conf->stock->enabled)
{ {
print '<tr><td>Seuil stock</td><td>'; print '<tr><td>'.$langs->trans("StockLimit").'</td><td>';
print '<input name="seuil_stock_alerte" size="4" value="0">'; print '<input name="seuil_stock_alerte" size="4" value="0">';
print '</td></tr>'; print '</td></tr>';
} }
@ -860,7 +861,7 @@ if ($_GET["id"] || $_GET["ref"])
print '<tr><td>'.$langs->trans("Stock").'</td>'; print '<tr><td>'.$langs->trans("Stock").'</td>';
if ($product->stock_reel < $product->seuil_stock_alerte) if ($product->stock_reel < $product->seuil_stock_alerte)
{ {
print '<td>'.$product->stock_reel.' '.img_warning().' (Seuil: '.$product->seuil_stock_alerte.')</td>'; print '<td>'.$product->stock_reel.' '.img_warning().' ('.$langs->trans("StockLimitShort").': '.$product->seuil_stock_alerte.')</td>';
} }
else else
{ {
@ -962,7 +963,7 @@ if ($_GET["id"] || $_GET["ref"])
print '</td></tr>'; print '</td></tr>';
if ($product->isproduct() && $conf->stock->enabled) if ($product->isproduct() && $conf->stock->enabled)
{ {
print "<tr>".'<td>Seuil stock</td><td colspan="2">'; print "<tr>".'<td>'.$langs->trans("StockLimit").'</td><td colspan="2">';
print '<input name="seuil_stock_alerte" size="4" value="'.$product->seuil_stock_alerte.'">'; print '<input name="seuil_stock_alerte" size="4" value="'.$product->seuil_stock_alerte.'">';
print '</td></tr>'; print '</td></tr>';
} }