Fix hidden const

This commit is contained in:
Laurent Destailleur 2020-04-16 15:24:12 +02:00
parent 86eaa78f1e
commit 984fa0d5a0
2 changed files with 4 additions and 4 deletions

View File

@ -925,7 +925,7 @@ class pdf_azur extends ModelePDFPropales
} }
// Show payments conditions // Show payments conditions
if (empty($conf->global->PROPALE_PDF_HIDE_PAYMENTTERMCOND) && ($object->cond_reglement_code || $object->cond_reglement)) if (empty($conf->global->PROPOSAL_PDF_HIDE_PAYMENTTERM) && ($object->cond_reglement_code || $object->cond_reglement))
{ {
$pdf->SetFont('', 'B', $default_font_size - 2); $pdf->SetFont('', 'B', $default_font_size - 2);
$pdf->SetXY($this->marge_gauche, $posy); $pdf->SetXY($this->marge_gauche, $posy);
@ -941,7 +941,7 @@ class pdf_azur extends ModelePDFPropales
$posy = $pdf->GetY() + 3; $posy = $pdf->GetY() + 3;
} }
if (empty($conf->global->PROPALE_PDF_HIDE_PAYMENTTERMMODE)) if (empty($conf->global->PROPOSAL_PDF_HIDE_PAYMENTMODE))
{ {
// Check a payment mode is defined // Check a payment mode is defined
/* Not required on a proposal /* Not required on a proposal

View File

@ -1025,7 +1025,7 @@ class pdf_cyan extends ModelePDFPropales
} }
// Show payments conditions // Show payments conditions
if (empty($conf->global->PROPALE_PDF_HIDE_PAYMENTTERMCOND) && ($object->cond_reglement_code || $object->cond_reglement)) if (empty($conf->global->PROPOSAL_PDF_HIDE_PAYMENTTERM) && ($object->cond_reglement_code || $object->cond_reglement))
{ {
$pdf->SetFont('', 'B', $default_font_size - 2); $pdf->SetFont('', 'B', $default_font_size - 2);
$pdf->SetXY($this->marge_gauche, $posy); $pdf->SetXY($this->marge_gauche, $posy);
@ -1041,7 +1041,7 @@ class pdf_cyan extends ModelePDFPropales
$posy = $pdf->GetY() + 3; $posy = $pdf->GetY() + 3;
} }
if (empty($conf->global->PROPALE_PDF_HIDE_PAYMENTTERMMODE)) if (empty($conf->global->PROPOSAL_PDF_HIDE_PAYMENTMODE))
{ {
// Check a payment mode is defined // Check a payment mode is defined
/* Not required on a proposal /* Not required on a proposal