issue # : Rappatriement des fichiers sur le webservice et enregistrement dans la base de données sdv1.asso_actes

This commit is contained in:
Michael RICOIS 2012-10-03 14:21:14 +00:00
parent d138d680b7
commit 64e61fa29b

View File

@ -1246,7 +1246,7 @@ class SaisieController extends Zend_Controller_Action
if (strlen($date)!=8) { if (strlen($date)!=8) {
echo "Erreur format date"; echo "Erreur format date";
} }
$name = 'ST-'.$siren.'-'.date('Ymd'); $name = 'ST-'.$siren.'-'.$date;
$path.= '/actes'; $path.= '/actes';
} }
@ -1266,7 +1266,7 @@ class SaisieController extends Zend_Controller_Action
//Send info to webservice //Send info to webservice
if ( $type='acte' ) { if ( $type='acte' ) {
$ws = new WsScores(); $ws = new WsScores();
$info = $ws->setActeAsso($siren, $waldec, 'ST', 'Statuts', $date); $info = $ws->setActeAsso($siren, $waldec, 'ST', 'Statut', $date);
if (is_string($info)) { if (is_string($info)) {
$result = false; $result = false;
} }