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();
|
$db = Zend_Db_Table::getDefaultAdapter();
|
||||||
$sql = $db->select()
|
$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']);
|
->where('siren=?', $evaluation['Siren'])->where('nic=?', $evaluation['Nic']);
|
||||||
$etablissement = $db->fetchRow($sql, null, Zend_Db::FETCH_OBJ);
|
$etablissement = $db->fetchRow($sql, null, Zend_Db::FETCH_OBJ);
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
class Infos
|
class Infos
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
*
|
* Identifiant SD de l'établissement siege
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $SourceId;
|
public $SourceId;
|
||||||
@ -44,7 +44,7 @@ class Infos
|
|||||||
public $FJ;
|
public $FJ;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Date de création de l'entreprise
|
* Date de création de l'entreprise au format AAAAMMJJ
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $DateCreaEn;
|
public $DateCreaEn;
|
||||||
@ -152,7 +152,7 @@ class Infos
|
|||||||
public $Indiscore;
|
public $Indiscore;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encours
|
* Encours en euros
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $Encours;
|
public $Encours;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user