Fichier bilan association : correction
This commit is contained in:
parent
ec16449ace
commit
47aa8d5120
@ -998,8 +998,8 @@ class PiecesController extends Zend_Controller_Action
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = 'bilan-'.$siren.'-'.$type.'-'.$dateCloture.'.pdf';
|
||||
if (copy($stream->getStreamName(), $c->profil->path->shared . '/temp/files/' . $file)) {
|
||||
$this->view->assign('url', $this->view->url(array('module'=>'file', 'controller'=>'fichier',
|
||||
'action' => 'greffe', 'q'=>$file), 'default', true));
|
||||
$this->view->assign('url', $this->view->url(array('module'=>'file', 'controller'=>'greffe',
|
||||
'action' => 'association', 'q'=>$file), 'default', true));
|
||||
} else {
|
||||
$this->view->assign('msg', "Impossible de distribuer le fichier.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user