From bc47d486a353210e97e2c06520a4af3f2c854871 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 31 Mar 2008 05:11:11 +0000 Subject: [PATCH] New: Navigation next/previous for companies on note tab --- htdocs/societe/socnote.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/htdocs/societe/socnote.php b/htdocs/societe/socnote.php index 5b8f1a4c593..cde98edd3df 100644 --- a/htdocs/societe/socnote.php +++ b/htdocs/societe/socnote.php @@ -52,6 +52,7 @@ if ($_POST["action"] == 'add') */ llxHeader(); +$form = new Form($db); if ($socid > 0) { @@ -70,7 +71,10 @@ if ($socid > 0) print ''; - print ''; + print ''; + print ''; print ''; @@ -137,7 +141,7 @@ if ($_GET["action"] == '') if ($user->rights->societe->creer) { - print ''.$langs->trans("Modify").''; + print ''.$langs->trans("Modify").''; } print '';
'.$langs->trans('Name').''.$societe->nom.'
'.$langs->trans('Name').''; + print $form->showrefnav($societe,'socid','',1,'rowid','nom'); + print '
'.$langs->trans('Prefix').''.$societe->prefix_comm.'