fix travais

This commit is contained in:
Florian HENRY 2023-09-05 09:22:18 +02:00
parent 0694c8224d
commit 7a45f083a5

View file

@ -106,12 +106,11 @@ class pdf_sepamandate extends ModeleBankAccountDoc
$this->xPosSignArea=120;
$this->heightforfreetext = (!empty(getDolGlobalInt('MAIN_PDF_FREETEXT_HEIGHT')) ? getDolGlobalInt('MAIN_PDF_FREETEXT_HEIGHT') : 5);
$this->heightforfreetext = (getDolGlobalInt('MAIN_PDF_FREETEXT_HEIGHT') > 0 ? getDolGlobalInt('MAIN_PDF_FREETEXT_HEIGHT') : 5);
$this->heightforfooter = $this->marge_basse + 8;
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**
* Function to create pdf of company bank account sepa mandate