Uniformize behaviour by adding the back to list on thirdparty card

This commit is contained in:
Laurent Destailleur 2016-02-13 03:38:56 +01:00
parent cd3a531449
commit 298be09ee2

View File

@ -108,7 +108,7 @@ if (empty($reshook))
exit;
}
}
if ($action == 'confirm_merge' && $confirm == 'yes')
{
$object->fetch($socid);
@ -1921,8 +1921,9 @@ else
dol_htmloutput_errors($error,$errors);
$linkback = '<a href="'.DOL_URL_ROOT.'/societe/list.php">'.$langs->trans("BackToList").'</a>';
dol_banner_tab($object, 'socid', '', ($user->societe_id?0:1), 'rowid', 'nom');
dol_banner_tab($object, 'socid', $linkback, ($user->societe_id?0:1), 'rowid', 'nom');
print '<div class="fichecenter">';