Correction case incorrectement cochée
FossilOrigin-Name: 931d114c657192f31782dd3780630e6fc1f7a824f2e8ad30e50717ab92ff5d38
This commit is contained in:
parent
37b05bfe6a
commit
f6d0e34923
|
@ -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());
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
$activite = $lesActivites[$tarif->idActivite];
|
||||
?>
|
||||
<div class="activite">
|
||||
{if $nbTarifs == 1}
|
||||
{if $nbTarifs == 1 && $nbComptesSansActivite == 0}
|
||||
{input
|
||||
type="checkbox"
|
||||
name="tarifs[]"
|
||||
|
|
Loading…
Reference in New Issue