Suppression de la possibilité d'enreigstrement indiscore surveillance
This commit is contained in:
parent
277467012f
commit
24b194251d
@ -1071,11 +1071,14 @@ function indiScoreData($siren, $nic, $values = false)
|
|||||||
$tabData['encours'] = $ret[0]['encours'];
|
$tabData['encours'] = $ret[0]['encours'];
|
||||||
$tabData['dateBilan'] = $ret[0]['dateBilan'];
|
$tabData['dateBilan'] = $ret[0]['dateBilan'];
|
||||||
} else {
|
} else {
|
||||||
$iDb->insert('scores_surveillance', array('siren'=>$siren), false);
|
/*$iDb->insert('scores_surveillance', array('siren'=>$siren), false);
|
||||||
$tabData['indiScore'] = 'En cours';
|
$tabData['indiScore'] = 'En cours';
|
||||||
$tabData['encours'] = 'En cours';
|
$tabData['encours'] = 'En cours';
|
||||||
$ret = $iDb->select('jo.bilans', 'MAX(dateExercice) as dateBilan', 'siren='.$siren, false, MYSQL_ASSOC);
|
$ret = $iDb->select('jo.bilans', 'MAX(dateExercice) as dateBilan', 'siren='.$siren, false, MYSQL_ASSOC);
|
||||||
$tabData['dateBilan']= $ret[0]['dateBilan'];
|
$tabData['dateBilan']= $ret[0]['dateBilan'];*/
|
||||||
|
$tabData['indiScore'] = 'Aucune donnée';
|
||||||
|
$tabData['encours'] = 'Aucune donnée';
|
||||||
|
$tabData['dateBilan'] = 'Aucune donnée';
|
||||||
}
|
}
|
||||||
return $tabData;
|
return $tabData;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user