FIX proforma pdf name
This commit is contained in:
parent
9d5f288ca3
commit
72bb1062cc
@ -276,7 +276,7 @@ class pdf_eagle_proforma extends ModelePDFCommandes
|
|||||||
} else {
|
} else {
|
||||||
$objectref = dol_sanitizeFileName($object->ref);
|
$objectref = dol_sanitizeFileName($object->ref);
|
||||||
$dir = $conf->stocktransfer->multidir_output[$conf->entity]."/".$object->element."/".$objectref;
|
$dir = $conf->stocktransfer->multidir_output[$conf->entity]."/".$object->element."/".$objectref;
|
||||||
$file = $dir."/".$objectref.".pdf";
|
$file = $dir."/".$objectref."-proforma.pdf";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file_exists($dir)) {
|
if (!file_exists($dir)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user