Skip to content
Snippets Groups Projects
Commit e9bc5b71 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Complete #7361

parent 2fdad0f1
No related branches found
No related tags found
No related merge requests found
...@@ -561,7 +561,7 @@ class Fichinter extends CommonObject ...@@ -561,7 +561,7 @@ class Fichinter extends CommonObject
return price2num($amount, 'MT'); return price2num($amount, 'MT');
} }
/** /**
* Create a document onto disk according to template module. * Create a document onto disk according to template module.
* *
...@@ -580,12 +580,12 @@ class Fichinter extends CommonObject ...@@ -580,12 +580,12 @@ class Fichinter extends CommonObject
if (! dol_strlen($modele)) { if (! dol_strlen($modele)) {
$modele = 'azur'; $modele = 'soleil';
if ($this->modelpdf) { if ($this->modelpdf) {
$modele = $this->modelpdf; $modele = $this->modelpdf;
} elseif (! empty($conf->global->PROPALE_ADDON_PDF)) { } elseif (! empty($conf->global->FICHEINTER_ADDON_PDF)) {
$modele = $conf->global->PROPALE_ADDON_PDF; $modele = $conf->global->FICHEINTER_ADDON_PDF;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment