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 ''; + $linkback = ''.$langs->trans("BackToList").''; + // Reference du contrat print '"; // Customer diff --git a/htdocs/contrat/document.php b/htdocs/contrat/document.php index 2c09a9b94c3..5a9ea118bb6 100644 --- a/htdocs/contrat/document.php +++ b/htdocs/contrat/document.php @@ -156,8 +156,10 @@ if ($object->id) print '
'.$langs->trans("Ref").''; - print $object->ref; + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', ''); print "
'; + $linkback = ''.$langs->trans("BackToList").''; + // Reference - print ''; + print ''; // Societe print ''; 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').''.$object->ref.'
'.$langs->trans('Ref').''.$form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '').'
'.$langs->trans("Customer").'
'; + $linkback = ''.$langs->trans("BackToList").''; + // Ref du contrat print '"; // Customer diff --git a/htdocs/contrat/note.php b/htdocs/contrat/note.php index 57bd23ccd89..921c36b5c02 100644 --- a/htdocs/contrat/note.php +++ b/htdocs/contrat/note.php @@ -85,8 +85,10 @@ if ($id > 0 || ! empty($ref)) 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").''; + // Reference - print ''; + print ''; // Societe print '';
'.$langs->trans('Ref').''.$object->ref.'
'.$langs->trans('Ref').''.$form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', '').'
'.$langs->trans("Customer").'