From ec36ffd73c5cefa9db56d0ea161e39873495aaf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Sat, 28 Jul 2012 22:14:53 +0200 Subject: [PATCH] Missing expeditions and stocks BackToList links --- htdocs/expedition/contact.php | 4 +++- htdocs/expedition/fiche.php | 4 +++- htdocs/product/stock/fiche.php | 4 +++- htdocs/product/stock/mouvement.php | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/htdocs/expedition/contact.php b/htdocs/expedition/contact.php index 86b7a2b86c1..f1635301eaa 100644 --- a/htdocs/expedition/contact.php +++ b/htdocs/expedition/contact.php @@ -165,9 +165,11 @@ if ($id > 0 || ! empty($ref)) */ print ''; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print '"; // Customer diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index fc8c2ed7855..f11c15f4b95 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -952,10 +952,12 @@ else print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'ref','',1,'ref','ref'); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print "
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; // Customer diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index 8cb4c17c5c2..d2750f6f832 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -249,9 +249,11 @@ else print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'ref','',1,'ref','ref'); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index b4d2f06bd6b..f949102222c 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -204,9 +204,11 @@ if ($resql) print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'id','',1,'rowid','libelle'); + print $form->showrefnav($object, 'id', $linkback, 1, 'rowid', 'libelle'); print '
'.$langs->trans("LocationSummary").''.$object->lieu.'
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print '';
'.$langs->trans("Ref").''; - print $form->showrefnav($entrepot,'id','',1,'rowid','libelle'); + print $form->showrefnav($entrepot, 'id', $linkback, 1, 'rowid', 'libelle'); print '
'.$langs->trans("LocationSummary").''.$entrepot->lieu.'