We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceafbab commit b50fbaaCopy full SHA for b50fbaa
backoffice/lib/backoffice.lib.php
@@ -25,9 +25,10 @@
25
/**
26
* Build tabs for admin page
27
*
28
+ * @param int $nbtotalofrecords Number of deployment servers
29
* @return array
30
*/
-function sellYourSaasBackofficePrepareHead()
31
+function sellYourSaasBackofficePrepareHead($nbtotalofrecords = 0)
32
{
33
global $langs;
34
@@ -48,6 +49,7 @@ function sellYourSaasBackofficePrepareHead()
48
49
$head[$h][0] = '/custom/sellyoursaas/deploymentserver_list.php';
50
$head[$h][0] = dol_buildpath('/sellyoursaas/deploymentserver_list.php', 1);
51
$head[$h][1] = $langs->trans("DeploymentServers");
52
+ $head[$h][1] .= '<span class="badge marginleftonlyshort">'.$nbtotalofrecords.'</span>';
53
$head[$h][2] = 'deploymentservers';
54
$h++;
55
}
0 commit comments