diff --git a/application/controllers/DashboardController.php b/application/controllers/DashboardController.php index 5755ec803..9f3cccef3 100644 --- a/application/controllers/DashboardController.php +++ b/application/controllers/DashboardController.php @@ -373,9 +373,10 @@ class DashboardController extends Zend_Controller_Action $listCommandes[$i]->siren.'-'. trim($listCommandes[$i]->refDocument).'.pdf'; - if(file_exists($pathData.'/pdf/'$refFile)){ - $suffixe = 'bilan'; - $document = 'siren.'-'. + trim($listCommandes[$i]->refDocument).'.pdf'. '" target="_blank">'.$document.''; }