Merge pull request #2 from atm-quentin/FIX_trad_new_stock_transfer

FIX proforma pdf name
This commit is contained in:
atm-gauthier 2021-09-23 15:25:56 +02:00 committed by GitHub
commit 890239e02a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)) {