diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php index 21657ec6d3de724d4c7997661c17274651913507..27d813d531c3735cf4a60a7b586c22ce28180ea1 100644 --- a/htdocs/compta/deplacement/fiche.php +++ b/htdocs/compta/deplacement/fiche.php @@ -323,7 +323,7 @@ else // Ref print "<tr>"; print '<td width="20%">'.$langs->trans("Ref").'</td><td>'; - print $deplacement->ref; + print $html->showrefnav($deplacement,'id','',1,'rowid','ref',''); print '</td></tr>'; // Type diff --git a/htdocs/compta/deplacement/note.php b/htdocs/compta/deplacement/note.php index c197b0181c3647c32ef7708a4c50b636991ed25e..3f1a2045b69a115fd02d27331e365f955c3f47ab 100644 --- a/htdocs/compta/deplacement/note.php +++ b/htdocs/compta/deplacement/note.php @@ -1,6 +1,6 @@ <?php /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -148,7 +148,7 @@ if ($id > 0 || ! empty($ref)) print '</td></tr>'; // Note publique - print '<tr><td valign="top">'.$langs->trans("NotePublic").' :</td>'; + print '<tr><td valign="top">'.$langs->trans("NotePublic").'</td>'; print '<td valign="top" colspan="3">'; if ($_GET["action"] == 'edit') { @@ -168,7 +168,7 @@ if ($id > 0 || ! empty($ref)) // Note privee if (! $user->societe_id) { - print '<tr><td valign="top">'.$langs->trans("NotePrivate").' :</td>'; + print '<tr><td valign="top">'.$langs->trans("NotePrivate").'</td>'; print '<td valign="top" colspan="3">'; if ($_GET["action"] == 'edit') {