Fix position of tabs

This commit is contained in:
Laurent Destailleur 2022-03-13 18:40:43 +01:00
parent 2367f0d030
commit 22fb2845ae

View File

@ -67,12 +67,6 @@ function tax_prepare_head(ChargeSociales $object)
$h++;
$head[$h][0] = DOL_URL_ROOT.'/compta/sociales/info.php?id='.$object->id;
$head[$h][1] = $langs->trans("Info");
$head[$h][2] = 'info';
$h++;
$nbNote = 0;
if (!empty($object->note_private)) {
$nbNote++;
@ -89,6 +83,12 @@ function tax_prepare_head(ChargeSociales $object)
$h++;
$head[$h][0] = DOL_URL_ROOT.'/compta/sociales/info.php?id='.$object->id;
$head[$h][1] = $langs->trans("Info");
$head[$h][2] = 'info';
$h++;
complete_head_from_modules($conf, $langs, $object, $head, $h, 'tax', 'remove');
return $head;