Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-04-15 23:38:14 +02:00
parent 0d97d88da0
commit 43ec6c3ae5
2 changed files with 3 additions and 3 deletions

View File

@ -364,14 +364,14 @@ class pdf_crabe extends ModelePDFFactures
// If a certificate is found
if ($cert) {
$info = array(
'Name' => $this->emetteur->name,
'Name' => $this->emetteur->name,
'Location' => getCountry($this->emetteur->country_code, 0),
'Reason' => 'INVOICE',
'ContactInfo' => $this->emetteur->email
);
$pdf->setSignature($cert, $cert, $this->emetteur->name, '', 2, $info);
}
$pdf->SetMargins($this->marge_gauche, $this->marge_haute, $this->marge_droite); // Left, Top, Right
// Set $this->atleastonediscount if you have at least one discount

View File

@ -391,7 +391,7 @@ class pdf_sponge extends ModelePDFFactures
);
$pdf->setSignature($cert, $cert, $this->emetteur->name, '', 2, $info);
}
$pdf->SetMargins($this->marge_gauche, $this->marge_haute, $this->marge_droite); // Left, Top, Right
// Does we have at least one line with discount $this->atleastonediscount