diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php index 02cf7dcb4ef..4a8168e398f 100644 --- a/htdocs/compta/deplacement/fiche.php +++ b/htdocs/compta/deplacement/fiche.php @@ -434,9 +434,11 @@ else if ($id) print ''; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; // Type diff --git a/htdocs/compta/dons/fiche.php b/htdocs/compta/dons/fiche.php index d33fac9299a..0a8e57eb880 100644 --- a/htdocs/compta/dons/fiche.php +++ b/htdocs/compta/dons/fiche.php @@ -442,12 +442,14 @@ if (! empty($id) && $action != 'edit') print ''; print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'id','',1,'rowid','ref',''); + print $form->showrefnav($object, 'id', $linkback, 1, 'rowid', 'ref', ''); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + $nbrows=12; if ($conf->projet->enabled) $nbrows++; // Ref print "".''; print ''; diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 6ecbb4c5b80..fcf1f9a7c57 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2351,6 +2351,8 @@ else if ($id > 0 || ! empty($ref)) print '
'.$langs->trans("Ref").''; - print $form->showrefnav($don,'rowid','',1,'rowid','ref',''); + print $form->showrefnav($don, 'rowid', $linkback, 1, 'rowid', 'ref', ''); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; // Ref customer diff --git a/htdocs/compta/facture/contact.php b/htdocs/compta/facture/contact.php index 947c7d83cf7..dbf19328cf9 100644 --- a/htdocs/compta/facture/contact.php +++ b/htdocs/compta/facture/contact.php @@ -144,6 +144,8 @@ if ($id > 0 || ! empty($ref)) */ print '
'.$langs->trans('Ref').''; @@ -2365,7 +2367,7 @@ else if ($id > 0 || ! empty($ref)) { dol_print_error('',$discount->error); } - print $form->showrefnav($object,'ref','',1,'facnumber','ref',$morehtmlref); + print $form->showrefnav($object, 'ref', $linkback, 1, 'facnumber', 'ref', $morehtmlref); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; // Ref customer diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php index e023a0dd242..c413b3ac2d3 100644 --- a/htdocs/compta/facture/document.php +++ b/htdocs/compta/facture/document.php @@ -163,7 +163,9 @@ if ($id > 0 || ! empty($ref)) - print '
'.$langs->trans('Ref').''; @@ -158,7 +160,7 @@ if ($id > 0 || ! empty($ref)) { dol_print_error('',$discount->error); } - print $form->showrefnav($object,'ref','',1,'facnumber','ref',$morehtmlref); + print $form->showrefnav($object, 'ref', $linkback, 1, 'facnumber', 'ref', $morehtmlref); print '
'; + print '
'; + + $linkback = ''.$langs->trans("BackToList").''; // Ref print ''; @@ -179,7 +181,7 @@ if ($id > 0 || ! empty($ref)) { dol_print_error('',$discount->error); } - print $form->showrefnav($object,'ref','',1,'facnumber','ref',$morehtmlref); + print $form->showrefnav($object, 'ref', $linkback, 1, 'facnumber', 'ref', $morehtmlref); print ''; // Ref customer diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php index c68ad3777d8..bc14ed5f760 100644 --- a/htdocs/compta/facture/note.php +++ b/htdocs/compta/facture/note.php @@ -86,6 +86,8 @@ if ($id > 0 || ! empty($ref)) print '
'.$langs->trans('Ref').'
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print ''; // Ref customer diff --git a/htdocs/compta/facture/prelevement.php b/htdocs/compta/facture/prelevement.php index df8d7f0c131..8f688dc93d9 100644 --- a/htdocs/compta/facture/prelevement.php +++ b/htdocs/compta/facture/prelevement.php @@ -140,6 +140,8 @@ if ($_REQUEST["facid"] > 0 || $_REQUEST["ref"]) */ print '
'.$langs->trans('Ref').''; @@ -100,7 +102,7 @@ if ($id > 0 || ! empty($ref)) { dol_print_error('',$discount->error); } - print $form->showrefnav($object,'ref','',1,'facnumber','ref',$morehtmlref); + print $form->showrefnav($object, 'ref', $linkback, 1, 'facnumber', 'ref', $morehtmlref); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print '"; // Ref customer diff --git a/htdocs/fourn/facture/contact.php b/htdocs/fourn/facture/contact.php index 1a4e97e34f4..fffbe36481e 100644 --- a/htdocs/fourn/facture/contact.php +++ b/htdocs/fourn/facture/contact.php @@ -142,9 +142,11 @@ if ($id > 0 || ! empty($ref)) */ print '
'.$langs->trans("Ref").''; $morehtmlref=''; @@ -153,7 +155,7 @@ if ($_REQUEST["facid"] > 0 || $_REQUEST["ref"]) { dol_print_error('',$discount->error); } - print $form->showrefnav($object,'ref','',1,'facnumber','ref',$morehtmlref); + print $form->showrefnav($object, 'ref', $linkback, 1, 'facnumber', 'ref', $morehtmlref); print "
'; + $linkback = ''.$langs->trans("BackToList").''; + // Reference du facture print '"; // Ref supplier diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php index 8e72fdb0c46..0b44c881c4f 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -168,11 +168,13 @@ if ($facid > 0) } - print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'facid','',1,'rowid','ref',$morehtmlref); + print $form->showrefnav($object, 'facid', $linkback, 1, 'rowid', 'ref', $morehtmlref); print "
'; + print '
'; + + $linkback = ''.$langs->trans("BackToList").''; // Ref print ''; print "\n"; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index ddf0a58501a..f9fedc97d85 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -1277,9 +1277,11 @@ else */ print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'facid','',1,'rowid','ref',$morehtmlref); + print $form->showrefnav($object, 'facid', $linkback, 1, 'rowid', 'ref', $morehtmlref); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print "\n"; diff --git a/htdocs/fourn/facture/note.php b/htdocs/fourn/facture/note.php index bf815feff58..905b0f03328 100644 --- a/htdocs/fourn/facture/note.php +++ b/htdocs/fourn/facture/note.php @@ -87,9 +87,11 @@ if ($id) print '
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'id','',1,'rowid','ref'); + print $form->showrefnav($object, 'id', $linkback, 1, 'rowid', 'ref'); print '
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref print ''; print "\n";
'.$langs->trans("Ref").''; - print $form->showrefnav($object,'facid','',1,'rowid','ref',$morehtmlref); + print $form->showrefnav($object, 'facid', $linkback, 1, 'rowid', 'ref', $morehtmlref); print '