Correction fichier bilan

This commit is contained in:
Michael RICOIS 2011-12-13 11:38:22 +00:00
parent 1a21fe3cfa
commit fc9769976d

View File

@ -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 = '<a href="./fichier/pdf/'.$refFile.
if(file_exists($refFile)){
$document = '<a href="./fichier/pdf/bilan-'.
$listCommandes[$i]->siren.'-'.
trim($listCommandes[$i]->refDocument).'.pdf'.
'" target="_blank">'.$document.'</a>';
}