Ajout de la date de commande et Remove DEFINE
This commit is contained in:
parent
25c0ad7fa8
commit
c836ba4415
@ -59,6 +59,7 @@ class Pieces extends Scores_Ws_Server
|
||||
'siren' => $siren,
|
||||
'raisonSociale' => $identite['Nom'],
|
||||
'dateInsert' => date('YmdHis'),
|
||||
'dateCommande' => date('YmdHis'),
|
||||
));
|
||||
} catch (Zend_Db_Exception $e) {
|
||||
|
||||
@ -94,7 +95,7 @@ class Pieces extends Scores_Ws_Server
|
||||
$this->wsLog('kbis', $siren, basename($filepdf));
|
||||
$commandeM->update(array('dateEnvoi'=> date('YmdHis')), 'id='.$id);
|
||||
|
||||
return $hostname.DOC_WEB_URL.'kbis/'.basename($filepdf);
|
||||
return $hostname.'/fichier/kbis/'.basename($filepdf);
|
||||
|
||||
} else {
|
||||
|
||||
@ -149,7 +150,7 @@ class Pieces extends Scores_Ws_Server
|
||||
|
||||
$commandeM->update(array('dateEnvoi'=> date('YmdHis')), 'id='.$id);
|
||||
|
||||
return $hostname.DOC_WEB_URL.'kbis/'.basename($filepdf);
|
||||
return $hostname.'/fichier/kbis/'.basename($filepdf);
|
||||
}
|
||||
|
||||
break;
|
||||
@ -235,8 +236,10 @@ class Pieces extends Scores_Ws_Server
|
||||
if( $bilans->count() > 0) {
|
||||
foreach ($bilans as $item) {
|
||||
|
||||
$filename = basename($item->pdfLink);
|
||||
$file = SECURE_STORAGE . 'association/bilans/' . $filename;
|
||||
$filename = basename($item->pdfLink);
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->secure.'/association/bilans/' . $filename;
|
||||
|
||||
$bilansList = new Bilan();
|
||||
$bilansList->DateCloture = substr($item->dateCloture,0,4).substr($item->dateCloture,5,2).substr($item->dateCloture,8,2);
|
||||
|
Loading…
Reference in New Issue
Block a user