Fix phpcs
This commit is contained in:
parent
0d97d88da0
commit
43ec6c3ae5
@ -364,14 +364,14 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
// If a certificate is found
|
// If a certificate is found
|
||||||
if ($cert) {
|
if ($cert) {
|
||||||
$info = array(
|
$info = array(
|
||||||
'Name' => $this->emetteur->name,
|
'Name' => $this->emetteur->name,
|
||||||
'Location' => getCountry($this->emetteur->country_code, 0),
|
'Location' => getCountry($this->emetteur->country_code, 0),
|
||||||
'Reason' => 'INVOICE',
|
'Reason' => 'INVOICE',
|
||||||
'ContactInfo' => $this->emetteur->email
|
'ContactInfo' => $this->emetteur->email
|
||||||
);
|
);
|
||||||
$pdf->setSignature($cert, $cert, $this->emetteur->name, '', 2, $info);
|
$pdf->setSignature($cert, $cert, $this->emetteur->name, '', 2, $info);
|
||||||
}
|
}
|
||||||
|
|
||||||
$pdf->SetMargins($this->marge_gauche, $this->marge_haute, $this->marge_droite); // Left, Top, Right
|
$pdf->SetMargins($this->marge_gauche, $this->marge_haute, $this->marge_droite); // Left, Top, Right
|
||||||
|
|
||||||
// Set $this->atleastonediscount if you have at least one discount
|
// Set $this->atleastonediscount if you have at least one discount
|
||||||
|
|||||||
@ -391,7 +391,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||||||
);
|
);
|
||||||
$pdf->setSignature($cert, $cert, $this->emetteur->name, '', 2, $info);
|
$pdf->setSignature($cert, $cert, $this->emetteur->name, '', 2, $info);
|
||||||
}
|
}
|
||||||
|
|
||||||
$pdf->SetMargins($this->marge_gauche, $this->marge_haute, $this->marge_droite); // Left, Top, Right
|
$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
|
// Does we have at least one line with discount $this->atleastonediscount
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user