Complete #7361
This commit is contained in:
parent
2fdad0f11d
commit
e9bc5b719d
@ -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
|
|||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user