New: Navigation next/previous for companies on note tab
This commit is contained in:
parent
f695d54b72
commit
bc47d486a3
@ -52,6 +52,7 @@ if ($_POST["action"] == 'add')
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
$form = new Form($db);
|
||||
|
||||
if ($socid > 0)
|
||||
{
|
||||
@ -70,7 +71,10 @@ if ($socid > 0)
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
print '<tr><td width="20%">'.$langs->trans('Name').'</td><td colspan="3">'.$societe->nom.'</td></tr>';
|
||||
print '<tr><td width="20%">'.$langs->trans('Name').'</td>';
|
||||
print '<td colspan="3">';
|
||||
print $form->showrefnav($societe,'socid','',1,'rowid','nom');
|
||||
print '</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans('Prefix').'</td><td colspan="3">'.$societe->prefix_comm.'</td></tr>';
|
||||
|
||||
@ -137,7 +141,7 @@ if ($_GET["action"] == '')
|
||||
|
||||
if ($user->rights->societe->creer)
|
||||
{
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/socnote.php?socid='.$societe->id.'&action=edit">'.$langs->trans("Modify").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/societe/socnote.php?socid='.$societe->id.'&action=edit">'.$langs->trans("Modify").'</a>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user