diff --git a/Controleur/ControleurDetailbaremepriseencharge.php b/Controleur/ControleurDetailbaremepriseencharge.php index bb3d3386..ff3077de 100755 --- a/Controleur/ControleurDetailbaremepriseencharge.php +++ b/Controleur/ControleurDetailbaremepriseencharge.php @@ -34,8 +34,8 @@ class ControleurDetailbaremepriseencharge extends Controleur { $tmBareme = $this->garantie->getTmBaremeInitial($idBaremePriseEnCharge); $maxDateEffetBareme = $this->garantie->getMaxDateEffetBaremeInitial($idBaremePriseEnCharge); - //var_dump($maxDateEffetBareme); - $chemin = $this->menuvue->getChemin('Detailbaremepriseencharge'); + + $nbdetail = $this->garantie->getNbreLigneBaremeInitial('detailbareme'); $this->genererVue(array( 'bareme' => $bareme, @@ -43,7 +43,7 @@ class ControleurDetailbaremepriseencharge extends Controleur { 'actif' => $actif, 'tmBareme' => $tmBareme, 'maxDateEffetBareme' => $maxDateEffetBareme, - 'chemin' => $chemin + 'nbdetail' => $nbdetail )); }