This commit is contained in:
Laurent Destailleur 2017-09-11 14:50:00 +02:00
parent 2fdad0f11d
commit e9bc5b719d

View File

@ -561,7 +561,7 @@ class Fichinter extends CommonObject
return price2num($amount, 'MT');
}
/**
* Create a document onto disk according to template module.
*
@ -580,12 +580,12 @@ class Fichinter extends CommonObject
if (! dol_strlen($modele)) {
$modele = 'azur';
$modele = 'soleil';
if ($this->modelpdf) {
$modele = $this->modelpdf;
} elseif (! empty($conf->global->PROPALE_ADDON_PDF)) {
$modele = $conf->global->PROPALE_ADDON_PDF;
} elseif (! empty($conf->global->FICHEINTER_ADDON_PDF)) {
$modele = $conf->global->FICHEINTER_ADDON_PDF;
}
}