Merge pull request #13437 from pstructures/develop

Add the ability to add tabs from module for company admin setup
This commit is contained in:
Laurent Destailleur 2020-03-30 19:25:37 +02:00 committed by GitHub
commit d2bfc5f6dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1780,8 +1780,10 @@ function company_admin_prepare_head()
$head[$h][2] = 'accountant';
$h++;
complete_head_from_modules($conf, $langs, null, $head, $h, 'company_admin', 'remove');
complete_head_from_modules($conf, $langs, null, $head, $h, 'mycompany_admin', 'add');
complete_head_from_modules($conf, $langs, null, $head, $h, 'mycompany_admin', 'remove');
return $head;
}