From c1bf7c567d1a061df8d3b4c13ea3cebcef9bc452 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 16 Apr 2005 15:37:42 +0000 Subject: [PATCH] Fix: Bugs mineurs et divers sur la gestion des stocks --- htdocs/product/stock/fiche.php | 10 +++++----- htdocs/product/stock/info.php | 2 +- htdocs/product/stock/liste.php | 18 ++++++++++-------- htdocs/product/stock/mouvement.php | 24 +++++++++++++----------- 4 files changed, 29 insertions(+), 25 deletions(-) diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index 98f14b2f9f4..1f22f4218a8 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -62,7 +62,7 @@ if ($_POST["action"] == 'add') $mesg="
".$entrepot->error."
"; } else { - $mesg="
".$langs->trans("ErrorWarehouseLabelRequired")."
"; + $mesg="
".$langs->trans("ErrorWarehouseRefRequired")."
"; $_GET["action"]="create"; // Force retour sur page création } } @@ -134,7 +134,7 @@ if ($_GET["action"] == 'create') } print ''; - print ''; + print ''; print '"; @@ -198,10 +198,10 @@ else $head[$h][1] = $langs->trans("Info"); $h++; - dolibarr_fiche_head($head, $hselected, $langs->trans("Warehouse").': '.$entrepot->id); + dolibarr_fiche_head($head, $hselected, $langs->trans("Warehouse").': '.$entrepot->libelle); print '
'.$langs->trans("Label").'
'.$langs->trans("Ref").'
'.$langs->trans("Description").''; print '
'; - print ''; + print ''; print ''; print ''; @@ -241,7 +241,7 @@ else print ''; print '
'.$langs->trans("Label").''.$entrepot->libelle.'
'.$langs->trans("Ref").''.$entrepot->libelle.'
'.$langs->trans("Description").''.nl2br($entrepot->description).'
'.$langs->trans("LocationSummary").''.$entrepot->lieu.'
'; - print ''; + print ''; print '
'.$langs->trans("Label").'
'.$langs->trans("Ref").'
'.$langs->trans("Description").''; print '