issue #0001889 : Data key name change
This commit is contained in:
parent
6c0368161b
commit
d19284db97
@ -63,31 +63,31 @@ class EvaluationController extends Zend_Controller_Action
|
||||
{
|
||||
$sessionEntreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$siren = substr($this->siret,0,9);
|
||||
|
||||
|
||||
$types = array (
|
||||
'indiScore' => 'IndiScore',
|
||||
'scoreDir' => 'Dirigeance',
|
||||
'scoreConf' => 'Conformité',
|
||||
'scoreZ' => 'Score Z',
|
||||
'scoreCH' => 'Conan & Holder',
|
||||
'scoreAfdcc1' => 'Afdcc1',
|
||||
'scoreAfdcc2' => 'Afdcc2',
|
||||
'scoreAltman' => 'Altman',
|
||||
'scoreCCF' => 'CCF',
|
||||
);
|
||||
|
||||
'indiScore' => 'IndiScore',
|
||||
'scoreDir' => 'Dirigeance',
|
||||
'scoreConf' => 'Conformité',
|
||||
'scoreZ' => 'Score Z',
|
||||
'scoreCH' => 'Conan & Holder',
|
||||
'scoreAfdcc1' => 'Afdcc1',
|
||||
'scoreAfdcc2' => 'Afdcc2',
|
||||
'scoreAltman' => 'Altman',
|
||||
'scoreCCF' => 'CCF',
|
||||
);
|
||||
|
||||
$bornes = array(
|
||||
'indiScore' => array('min'=>0, 'max'=>20, 'rouge'=>8, 'orange'=>12),
|
||||
'scoreDir' => array('min'=>0, 'max'=>100, 'rouge'=>45, 'orange'=>56),
|
||||
'scoreConf' => array('min'=>0, 'max'=>100, 'rouge'=>45, 'orange'=>56),
|
||||
'scoreZ' => array('min'=>-3, 'max'=>3, 'rouge'=>-0.25, 'orange'=>0.125),
|
||||
'scoreCH' => array('min'=>-4.5,'max'=>16, 'rouge'=>3.75, 'orange'=>10),
|
||||
'scoreAfdcc1' => array('min'=>-7, 'max'=>7, 'rouge'=>0, 'orange'=>1),
|
||||
'scoreAfdcc2' => array('min'=>-3, 'max'=>2, 'rouge'=>-1, 'orange'=>0.5),
|
||||
'scoreAltman' => array('min'=>-2, 'max'=>8, 'rouge'=>0, 'orange'=>2.7),
|
||||
'scoreCCF' => array('min'=>500,'max'=>1500,'rouge'=>850, 'orange'=>1200), //corriger les bornes de CCF
|
||||
);
|
||||
|
||||
'indiScore' => array('min'=>0, 'max'=>20, 'rouge'=>8, 'orange'=>12),
|
||||
'scoreDir' => array('min'=>0, 'max'=>100, 'rouge'=>45, 'orange'=>56),
|
||||
'scoreConf' => array('min'=>0, 'max'=>100, 'rouge'=>45, 'orange'=>56),
|
||||
'scoreZ' => array('min'=>-3, 'max'=>3, 'rouge'=>-0.25, 'orange'=>0.125),
|
||||
'scoreCH' => array('min'=>-4.5,'max'=>16, 'rouge'=>3.75, 'orange'=>10),
|
||||
'scoreAfdcc1' => array('min'=>-7, 'max'=>7, 'rouge'=>0, 'orange'=>1),
|
||||
'scoreAfdcc2' => array('min'=>-3, 'max'=>2, 'rouge'=>-1, 'orange'=>0.5),
|
||||
'scoreAltman' => array('min'=>-2, 'max'=>8, 'rouge'=>0, 'orange'=>2.7),
|
||||
'scoreCCF' => array('min'=>500,'max'=>1500,'rouge'=>850, 'orange'=>1200), //corriger les bornes de CCF
|
||||
);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$type = $request->getParam('type', 'indiScore');
|
||||
|
||||
@ -159,10 +159,10 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$layer->setXData($labelsX);
|
||||
$layer->setLineWidth(1);
|
||||
$layer->addExtraField($encours);
|
||||
|
||||
|
||||
$dataSet = $layer->addDataSet($dataX, 0x0000FF);
|
||||
$dataSet->setDataSymbol(CircleSymbol, 4, 0x5555FF);
|
||||
|
||||
|
||||
if( $c->makeChart($path.$file ) === true){
|
||||
$return = $file;
|
||||
$graphMap = $c->getHTMLImageMap("", "", "title='{x|dd/mm/yyyy}\nScore: {value}\nEncours: {field0} K€' style='cursor:pointer;'");
|
||||
|
@ -37,7 +37,7 @@
|
||||
<?=$date->toString('dd/MM/yyyy')?>
|
||||
</td>
|
||||
<td align="center"><?=$score->value?> </td>
|
||||
<td><?=$score->motif?></td>
|
||||
<td><?=$score->label?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<?php }?>
|
||||
|
Loading…
Reference in New Issue
Block a user