RRG : Correction affichage source_id
This commit is contained in:
parent
f88bdd81d1
commit
82ac4041a4
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user