Merge pull request #22138 from defrance/patch-246

php V8 warning
This commit is contained in:
Laurent Destailleur 2022-09-09 16:55:25 +02:00 committed by GitHub
commit 2b412af5b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1323,7 +1323,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
}
} else {
$text = $this->emetteur->name;
$pdf->MultiCell(100, 4, $outputlangs->convToOutputCharset($text), 0, $ltrdirection);
$pdf->MultiCell(100, 4, $outputlangs->convToOutputCharset($text), 0);
}
}
@ -1343,11 +1343,11 @@ class pdf_aurore extends ModelePDFSupplierProposal
$posy += 1;
$pdf->SetFont('', '', $default_font_size - 2);
if ($object->ref_client) {
if ($object->ref_fourn) {
$posy += 4;
$pdf->SetXY($posx, $posy);
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("RefCustomer")." : ".dol_trunc($outputlangs->convToOutputCharset($object->ref_client), 65), '', 'R');
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("RefSupplier")." : ".dol_trunc($outputlangs->convToOutputCharset($object->ref_fourn), 65), '', 'R');
}
/* PHFAVRE
$posy+=4;