Fix: Customer code was not correct if it contains special characters
This commit is contained in:
parent
b64db2e5fb
commit
4e2b3fc685
@ -6,7 +6,9 @@ English Dolibarr changelog
|
||||
For users:
|
||||
- New: Can export commercial proposals
|
||||
- New: Can use a cache for xcal exports.
|
||||
|
||||
- Fix: Customer code was not correct on PDF it if contains special
|
||||
characters.
|
||||
|
||||
For translators:
|
||||
- Update some language files.
|
||||
|
||||
|
||||
@ -1007,7 +1007,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
$posy+=4;
|
||||
$pdf->SetXY(100,$posy);
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $object->client->code_client, '', 'R');
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $outputlangs->transnoentities($object->client->code_client), '', 'R');
|
||||
}
|
||||
|
||||
if ($showadress)
|
||||
|
||||
@ -1012,7 +1012,7 @@ class pdf_oursin extends ModelePDFFactures
|
||||
$posy+=4;
|
||||
$pdf->SetXY($this->marges['g'],$posy);
|
||||
$pdf->SetFont('Arial','',9);
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $object->client->code_client, '', 'L');
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $outputlangs->transnoentities($object->client->code_client), '', 'L');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -824,7 +824,7 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
$posy+=5;
|
||||
$pdf->SetXY(100,$posy);
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $object->client->code_client, '', 'R');
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $outputlangs->transnoentities($object->client->code_client), '', 'R');
|
||||
}
|
||||
|
||||
if ($showadress)
|
||||
|
||||
@ -434,7 +434,7 @@ class pdf_propale_jaune extends ModelePDFPropales
|
||||
$posy+=5;
|
||||
$pdf->SetXY(100,$posy);
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $object->client->code_client, '', 'R');
|
||||
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("CustomerCode")." : " . $outputlangs->transnoentities($object->client->code_client), '', 'R');
|
||||
}
|
||||
|
||||
$posy=39;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user