Fixing style errors.

This commit is contained in:
stickler-ci 2021-08-09 16:03:13 +00:00
parent 6b3b6fd508
commit adc6f883e2

View File

@ -1473,7 +1473,7 @@ class pdf_azur extends ModelePDFPropales
$pdf->SetXY($posx, $posy);
$pdf->SetTextColor(0, 0, 60);
$title = $outputlangs->transnoentities("PdfCommercialProposalTitle");
if(!empty($conf->global->PDF_REF_IN_TITLE)){
if (!empty($conf->global->PDF_REF_IN_TITLE)) {
$title .= " " . $outputlangs->convToOutputCharset($object->ref);
}
$pdf->MultiCell(100, 4, $title, '', 'R');
@ -1481,7 +1481,7 @@ class pdf_azur extends ModelePDFPropales
$pdf->SetFont('', 'B', $default_font_size);
$posy += 5;
if(empty($conf->global->PDF_REF_IN_TITLE)){
if (empty($conf->global->PDF_REF_IN_TITLE)) {
$pdf->SetXY($posx, $posy);
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("Ref")." : ".$outputlangs->convToOutputCharset($object->ref), '', 'R');