suppression renseignement du confidentiel ou non lors de la saisie du bilan
This commit is contained in:
parent
3510df43e2
commit
5313c9265b
@ -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));
|
||||
|
@ -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,
|
||||
|
@ -3,10 +3,6 @@
|
||||
<label>Type de bilan</label>
|
||||
<span id="typeBilan"><?=$this->typeBilan?></span>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<label>Confidentiel</label>
|
||||
<input id="confidentiel" class="confidentiel" value="<?=$this->confidentiel?>">
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<label>Valeurs exprimées en </label>
|
||||
<span id="unit" class="unit editable"><?=$this->unite?></span> €
|
||||
|
@ -3,10 +3,6 @@
|
||||
<label>Type de bilan</label>
|
||||
<span id="typeBilan" class="editable"><?=$this->typeBilan?></span>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<label>Confidentiel</label>
|
||||
<input id="confidentiel" class="confidentiel" value="<?=$this->confidentiel?>">
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
<label>Valeurs exprimées en </label>
|
||||
<span id="unit" class="unit editable"><?=$this->unite?></span> €
|
||||
|
@ -899,7 +899,7 @@ class WsScores
|
||||
}
|
||||
}
|
||||
|
||||
public function setBilan($siren, $originalDateCloture, $originalTypeBilan, $unite, $dateCloture, $dureeMois, $dateCloturePre, $dureeMoisPre, $typeBilan, $postes, $step = 'normal', $confidentiel=0)
|
||||
public function setBilan($siren, $originalDateCloture, $originalTypeBilan, $unite, $dateCloture, $dureeMois, $dateCloturePre, $dureeMoisPre, $typeBilan, $postes, $step = 'normal')
|
||||
{
|
||||
$params = new stdClass();
|
||||
$params->siren = $siren;
|
||||
@ -913,7 +913,6 @@ class WsScores
|
||||
$params->data->typeBilan = $typeBilan;
|
||||
$params->data->postes = $postes;
|
||||
$params->step = $step;
|
||||
$params->confidentiel = $confidentiel;
|
||||
$client = $this->loadClient('saisie');
|
||||
try {
|
||||
$reponse = $client->setBilan($params);
|
||||
|
Loading…
Reference in New Issue
Block a user