Correction case incorrectement cochée
FossilOrigin-Name: 79c7e1408f18c1b715f2ed79a0567fd71cd78a20d8726a711f2cefbc0c4b7541
This commit is contained in:
parent
977046b657
commit
a132bec27d
|
@ -102,7 +102,7 @@
|
||||||
$activite = $lesActivites[$tarif->idActivite];
|
$activite = $lesActivites[$tarif->idActivite];
|
||||||
?>
|
?>
|
||||||
<div class="activite">
|
<div class="activite">
|
||||||
{if $nbTarifs == 1}
|
{if $nbTarifs == 1 && $nbComptesSansActivite == 0}
|
||||||
{input
|
{input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
name="tarifs[]"
|
name="tarifs[]"
|
||||||
|
|
|
@ -61,6 +61,7 @@ $tpl->assign('lesTarifs', $_SESSION['lesTarifs']);
|
||||||
$tpl->assign('lesActivites', $_SESSION['lesActivites']);
|
$tpl->assign('lesActivites', $_SESSION['lesActivites']);
|
||||||
$tpl->assign('activitesTarifsComptes', $activitesTarifsComptes);
|
$tpl->assign('activitesTarifsComptes', $activitesTarifsComptes);
|
||||||
$tpl->assign('comptesSansActivite', $comptesSansActivite);
|
$tpl->assign('comptesSansActivite', $comptesSansActivite);
|
||||||
|
$tpl->assign('nbComptesSansActivite',count($comptesSansActivite));
|
||||||
$tpl->assign('nbTarifs', count($activitesTarifsComptes));
|
$tpl->assign('nbTarifs', count($activitesTarifsComptes));
|
||||||
$tpl->assign('nbComptes', count($_SESSION['comptes']));
|
$tpl->assign('nbComptes', count($_SESSION['comptes']));
|
||||||
$tpl->assign('plugin_config', $plugin->getConfig());
|
$tpl->assign('plugin_config', $plugin->getConfig());
|
||||||
|
|
Loading…
Reference in New Issue