diff --git a/htdocs/contrat/contact.php b/htdocs/contrat/contact.php index 915a2775b91..2eea1fd3dc0 100644 --- a/htdocs/contrat/contact.php +++ b/htdocs/contrat/contact.php @@ -144,9 +144,11 @@ if ($id > 0 || ! empty($ref)) */ print '
| '.$langs->trans("Ref").' | '; - print $object->ref; + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', ''); print " | ||||||||||||||||
| '.$langs->trans('Ref').' | '.$object->ref.' | ||||||||||||||||
| '.$langs->trans('Ref').' | '.$form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '').' | ||||||||||||||||
| '.$langs->trans("Customer").' | '; diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index b1c828b7a3e..a1367ebae61 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -725,9 +725,11 @@ else print '|||||||||||||||||
| '.$langs->trans("Ref").' | '; - print $form->showrefnav($object,'ref','',1,'ref','ref',''); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', ''); print " | ||||
| '.$langs->trans('Ref').' | '.$object->ref.' | ||||
| '.$langs->trans('Ref').' | '.$form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '').' | ||||
| '.$langs->trans("Customer").' | ';|||||