FIX proforma pdf name

This commit is contained in:
Quentin VIAL-GOUTEYRON 2021-09-23 15:15:35 +02:00
parent 9d5f288ca3
commit 72bb1062cc

View File

@ -276,7 +276,7 @@ class pdf_eagle_proforma extends ModelePDFCommandes
} else {
$objectref = dol_sanitizeFileName($object->ref);
$dir = $conf->stocktransfer->multidir_output[$conf->entity]."/".$object->element."/".$objectref;
$file = $dir."/".$objectref.".pdf";
$file = $dir."/".$objectref."-proforma.pdf";
}
if (!file_exists($dir)) {