Fix: on ne voyait pas le lien du pdf en mode brouillon

This commit is contained in:
Regis Houssin 2006-05-14 16:32:38 +00:00
parent 5782295664
commit d322ac039f

View File

@ -1377,8 +1377,8 @@ else
*
*/
$comref = sanitize_string($commande->ref);
$comref = str_replace("(","",$comref);
$comref = str_replace(")","",$comref);
//$comref = str_replace("(","",$comref);
//$comref = str_replace(")","",$comref);
$file = $conf->commande->dir_output . '/' . $comref . '/' . $comref . '.pdf';
$relativepath = $comref.'/'.$comref.'.pdf';
$filedir = $conf->commande->dir_output . '/' . $comref;