Suppression debuggage

This commit is contained in:
Michael RICOIS 2015-01-22 10:53:21 +00:00
parent 6933de2d40
commit da429b2d1d
3 changed files with 10 additions and 12 deletions

View File

@ -252,11 +252,12 @@ class EvaluationController extends Zend_Controller_Action
$siren = substr($this->siret,0,9);
//@todo : transformer le webservice pour ne faire qu'une seule requete
$ws = new WsScores();
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
$identite = $ws->getIdentite($siren);
$indiscore = $ws->getIndiScore($siren);
$infos = $ws->getRatios($siren, 'indiscore2'); // @todo : vérifier la page
$infos = $ws->getRatios($siren, 'indiscore2');
$score = array();
$tabRatio = array(
@ -280,7 +281,8 @@ class EvaluationController extends Zend_Controller_Action
if ($nbBilanN!=0)
{
foreach($tabRatio as $idRatio => $valRatio){
foreach($tabRatio as $idRatio => $valRatio)
{
$tabRatio[$idRatio]['comment'] = $ratiosData->wrapComment($idRatio);
}
$this->view->assign('tabRatio', $tabRatio);
@ -294,15 +296,18 @@ class EvaluationController extends Zend_Controller_Action
$annees = array_slice($annees, 0, $nbMaxBilan);
sort($annees);
$tabResult = array();
foreach($annees as $annee){
foreach($annees as $annee)
{
$data = array();
$dataEvol = array();
//Formatter les données
foreach($tabRatio as $idRatio => $valRatio){
foreach($tabRatio as $idRatio => $valRatio)
{
$data[$idRatio] = $ratiosData->dRatio($typeBilan, $annee, $idRatio);
$dataTotal[$idRatio] = $ratiosData->dTotal($typeBilan, $annee, $idRatio, $valRatio['total']);
$dInfo[$idRatio] = $valRatio['total_info'];
}
$date = new Zend_Date($annee, 'yyyyMMdd');
$tabResult[] = array(
'dateCloture' => $date->toString('dd/MM/yyyy'),

View File

@ -429,8 +429,6 @@ class FinanceController extends Zend_Controller_Action
$typeBilan = $request->getParam('typeBilan');
$dateCloture = $request->getParam('dateCloture');
Zend_Registry::get('firebug')->info($request->getParams());
$c = Zend_Registry::get('config');
$path = $c->profil->path->pages . '/imgcache/';
switch($type){
@ -708,7 +706,6 @@ class FinanceController extends Zend_Controller_Action
$this->view->assign('email', $user->getEmail());
$this->view->assign('siren', $params['siren']);
Zend_Registry::get('firebug')->info($params);
$ref = $params['ref'];
@ -1420,7 +1417,6 @@ class FinanceController extends Zend_Controller_Action
$ws = new WsScores();
$response = $ws->getEntrepriseLiasseInfos($siren);
Zend_Registry::get('firebug')->info($response);
if ( $response === null ) {
$this->view->assign('msg','Aucun bilan déposé.');
} else {

View File

@ -638,8 +638,6 @@ class IdentiteController extends Zend_Controller_Action
$this->view->assign('surveillance', $user->checkPerm('survdirigeants'));
}
Zend_Registry::get('firebug')->info($identite);
if ($identite->PpPm=='PP') {
$this->view->assign('PP', true);
$this->view->assign('nom', $identite->nom);
@ -675,7 +673,6 @@ class IdentiteController extends Zend_Controller_Action
}
$infos = $ws->getLiens($siren);
Zend_Registry::get('firebug')->info($infos);
if (is_string($infos) || $infos === false) $this->_forward('soap', 'error');
}