Fixing style errors.
This commit is contained in:
parent
279fc0c57e
commit
48f0c863cc
@ -256,10 +256,9 @@ class pdf_einstein extends ModelePDFCommandes
|
|||||||
$dir = $conf->commande->multidir_output[$conf->entity];
|
$dir = $conf->commande->multidir_output[$conf->entity];
|
||||||
$file = $dir."/SPECIMEN.pdf";
|
$file = $dir."/SPECIMEN.pdf";
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Possibility to use suffix for proforma
|
// Possibility to use suffix for proforma
|
||||||
if(!empty($conf->global->PROFORMA_PDF_WITH_SUFFIX)){
|
if (!empty($conf->global->PROFORMA_PDF_WITH_SUFFIX)) {
|
||||||
$suffix = (GETPOST('model',2)=='proforma') ? $conf->global->PROFORMA_PDF_WITH_SUFFIX : '';
|
$suffix = (GETPOST('model', 2)=='proforma') ? $conf->global->PROFORMA_PDF_WITH_SUFFIX : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$objectref = dol_sanitizeFileName($object->ref);
|
$objectref = dol_sanitizeFileName($object->ref);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user