RRG : Correction affichage source_id

This commit is contained in:
Michael RICOIS 2014-11-28 13:10:27 +00:00
parent f88bdd81d1
commit 82ac4041a4
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ class Entreprise extends Scores_Ws_Server
$db = Zend_Db_Table::getDefaultAdapter();
$sql = $db->select()
->from('etablissements', array('source_id'), 'jo')
->from('etablissements', array('LPAD(source_id,10,0) AS source_id'), 'jo')
->where('siren=?', $evaluation['Siren'])->where('nic=?', $evaluation['Nic']);
$etablissement = $db->fetchRow($sql, null, Zend_Db::FETCH_OBJ);

View File

@ -2,7 +2,7 @@
class Infos
{
/**
*
* Identifiant SD de l'établissement siege
* @var string
*/
public $SourceId;
@ -44,7 +44,7 @@ class Infos
public $FJ;
/**
* Date de création de l'entreprise
* Date de création de l'entreprise au format AAAAMMJJ
* @var string
*/
public $DateCreaEn;
@ -152,7 +152,7 @@ class Infos
public $Indiscore;
/**
* Encours
* Encours en euros
* @var int
*/
public $Encours;