diff --git a/admin/index.php b/admin/index.php index 1915b24..3b1e76f 100644 --- a/admin/index.php +++ b/admin/index.php @@ -62,6 +62,7 @@ $tpl->assign('lesTarifs', $_SESSION['lesTarifs']); $tpl->assign('lesActivites', $_SESSION['lesActivites']); $tpl->assign('activitesTarifsComptes', $activitesTarifsComptes); $tpl->assign('comptesSansActivite', $comptesSansActivite); +$tpl->assign('nbComptesSansActivite',count($comptesSansActivite)); $tpl->assign('nbTarifs', count($activitesTarifsComptes)); $tpl->assign('nbComptes', count($_SESSION['comptes'])); $tpl->assign('plugin_config', $plugin->getConfig()); diff --git a/templates/index.tpl b/templates/index.tpl index d04af70..07bb183 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -102,7 +102,7 @@ $activite = $lesActivites[$tarif->idActivite]; ?>