diff --git a/application/modules/default/controllers/SaisieController.php b/application/modules/default/controllers/SaisieController.php index b5e82eed3..1c05ba4f9 100644 --- a/application/modules/default/controllers/SaisieController.php +++ b/application/modules/default/controllers/SaisieController.php @@ -925,7 +925,6 @@ class SaisieController extends Zend_Controller_Action if ( !empty($selection) ) { list($date, $type) = explode(':', $selection); - $confidentiel = 0; // --- Correction d'un bilan if ($date!='NEW') { @@ -942,7 +941,6 @@ class SaisieController extends Zend_Controller_Action $milDatePre = $item->dateExercice; } } - $confidentiel = $item->confidentiel; } } @@ -957,7 +955,7 @@ class SaisieController extends Zend_Controller_Action $infos->dureeMois = $response->DUREE_MOIS; $infos->dureeMoisPre = $response->DUREE_MOIS_PRE; $infos->unite = empty($response->MONNAIE_LIV_UNITE) ? 'U' : $response->MONNAIE_LIV_UNITE; - $confidentiel = $response->TOP_CONFIDENTIEL; + $postes = array(); foreach ($response->POSTES->item as $item) { $postes[$item->id] = $item->val; @@ -973,7 +971,7 @@ class SaisieController extends Zend_Controller_Action $infos->dateCloturePre = $response->DATE_CLOTURE; $infos->dureeMoisPre = $response->DUREE_MOIS; $infos->unite = empty($response->MONNAIE_LIV_UNITE) ? 'U' : $response->MONNAIE_LIV_UNITE; - $confidentiel = $response->TOP_CONFIDENTIEL; + $postesN1 = array(); foreach ($response->POSTES->item as $item) { $postesN1[$item->id] = $item->val; @@ -1309,7 +1307,6 @@ class SaisieController extends Zend_Controller_Action $this->view->assign('dureeMoisPre', $dureeMoisPre); $this->view->assign('unite', $unite); $this->view->assign('typeBilan', $type); - $this->view->assign('confidentiel', $confidentiel); $this->view->assign('ancres', $ancres[$type]); $this->view->inlineScript()->appendFile('/libs/editable/jquery.jeditable.js'); @@ -1361,8 +1358,7 @@ class SaisieController extends Zend_Controller_Action $params['dureeMoisPre'], $params['typeBilan'], $params['postes'], - $params['step'], - $params['confidentiel'] + $params['step'] ); $this->logger->info(print_r($response,1)); diff --git a/application/modules/default/views/default/scripts/saisie/liasse.phtml b/application/modules/default/views/default/scripts/saisie/liasse.phtml index d2a2e5be7..1ffa6db01 100644 --- a/application/modules/default/views/default/scripts/saisie/liasse.phtml +++ b/application/modules/default/views/default/scripts/saisie/liasse.phtml @@ -37,7 +37,6 @@ span.poste input { width:50px; } $params = array( 'ancres' => $this->ancres, 'typeBilan' => $this->typeBilan, - 'confidentiel' => $this->confidentiel, 'unite' => $this->unite, 'dateCloture' => $this->dateCloture, 'dureeMois'=> $this->dureeMois, diff --git a/application/modules/default/views/default/scripts/saisie/liasse/2033.phtml b/application/modules/default/views/default/scripts/saisie/liasse/2033.phtml index f032d1b94..600a2151c 100644 --- a/application/modules/default/views/default/scripts/saisie/liasse/2033.phtml +++ b/application/modules/default/views/default/scripts/saisie/liasse/2033.phtml @@ -3,10 +3,6 @@ =$this->typeBilan?> -