Fix bad name of constant

This commit is contained in:
Laurent Destailleur 2019-11-14 14:23:48 +01:00
parent 7e0ae4bf0e
commit 80b3e27341
6 changed files with 6 additions and 6 deletions

View File

@ -1262,7 +1262,7 @@ class pdf_einstein extends ModelePDFCommandes
{ {
if ($this->emetteur->logo) if ($this->emetteur->logo)
{ {
if (empty($conf->global->PDF_USE_LARGE_LOGO)) if (empty($conf->global->MAIN_PDF_USE_LARGE_LOGO))
{ {
$logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small; $logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small;
} }

View File

@ -1396,7 +1396,7 @@ class pdf_eratosthene extends ModelePDFCommandes
{ {
if ($this->emetteur->logo) if ($this->emetteur->logo)
{ {
if (empty($conf->global->PDF_USE_LARGE_LOGO)) if (empty($conf->global->MAIN_PDF_USE_LARGE_LOGO))
{ {
$logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small; $logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small;
} }

View File

@ -1573,7 +1573,7 @@ class pdf_crabe extends ModelePDFFactures
{ {
if ($this->emetteur->logo) if ($this->emetteur->logo)
{ {
if (empty($conf->global->PDF_USE_LARGE_LOGO)) if (empty($conf->global->MAIN_PDF_USE_LARGE_LOGO))
{ {
$logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small; $logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small;
} }

View File

@ -1604,7 +1604,7 @@ class pdf_sponge extends ModelePDFFactures
{ {
if ($this->emetteur->logo) if ($this->emetteur->logo)
{ {
if (empty($conf->global->PDF_USE_LARGE_LOGO)) if (empty($conf->global->MAIN_PDF_USE_LARGE_LOGO))
{ {
$logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small; $logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small;
} }

View File

@ -1464,7 +1464,7 @@ class pdf_azur extends ModelePDFPropales
{ {
if ($this->emetteur->logo) if ($this->emetteur->logo)
{ {
if (empty($conf->global->PDF_USE_LARGE_LOGO)) if (empty($conf->global->MAIN_PDF_USE_LARGE_LOGO))
{ {
$logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small; $logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small;
} }

View File

@ -1509,7 +1509,7 @@ class pdf_cyan extends ModelePDFPropales
{ {
if ($this->emetteur->logo) if ($this->emetteur->logo)
{ {
if (empty($conf->global->PDF_USE_LARGE_LOGO)) if (empty($conf->global->MAIN_PDF_USE_LARGE_LOGO))
{ {
$logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small; $logo=$conf->mycompany->dir_output.'/logos/thumbs/'.$this->emetteur->logo_small;
} }