From 72bb1062cc95894ef39d10448c8bdf030261328b Mon Sep 17 00:00:00 2001 From: Quentin VIAL-GOUTEYRON Date: Thu, 23 Sep 2021 15:15:35 +0200 Subject: [PATCH] FIX proforma pdf name --- .../modules/stocktransfer/doc/pdf_eagle_proforma.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php b/htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php index aabaaa9edc7..bd9e4d3f11a 100644 --- a/htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php +++ b/htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php @@ -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)) {