diff --git a/htdocs/fourn/facture/contact.php b/htdocs/fourn/facture/contact.php index c96018c4d33..8221037703e 100644 --- a/htdocs/fourn/facture/contact.php +++ b/htdocs/fourn/facture/contact.php @@ -146,7 +146,7 @@ if ($id > 0 || ! empty($ref)) // Reference du facture print ''.$langs->trans("Ref").''; - print $form->showrefnav($object, 'facid', $linkback, 1, 'rowid', 'ref', $morehtmlref); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref); print ""; // Ref supplier @@ -161,10 +161,10 @@ if ($id > 0 || ! empty($ref)) print ''; print '
'; - + // Contacts lines include DOL_DOCUMENT_ROOT.'/core/tpl/contacts.tpl.php'; - + } else { diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php index 494b5cf23e6..155f73108bd 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -130,7 +130,7 @@ if ($object->id > 0) // Ref print ''.$langs->trans("Ref").''; - print $form->showrefnav($object, 'facid', $linkback, 1, 'rowid', 'ref'); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print ''; print "\n"; diff --git a/htdocs/fourn/facture/note.php b/htdocs/fourn/facture/note.php index a866407a82a..bec3cdc9c03 100644 --- a/htdocs/fourn/facture/note.php +++ b/htdocs/fourn/facture/note.php @@ -92,7 +92,7 @@ if ($id) // Ref print ''.$langs->trans("Ref").''; - print $form->showrefnav($object, 'facid', $linkback, 1, 'rowid', 'ref', $morehtmlref); + print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref); print ''; print "\n";