add_doc
This commit is contained in:
parent
3e2b4b45c1
commit
fb42e3f473
@ -1482,6 +1482,9 @@ class pdf_eratosthene extends ModelePDFCommandes
|
||||
$title .= ' - ';
|
||||
$title .= $outputlangsbis->transnoentities($titlekey);
|
||||
}
|
||||
if (!empty($conf->global->MAIN_PDF_REF_IN_TITLE)) {
|
||||
$title .= " " . $outputlangs->convToOutputCharset($object->ref);
|
||||
}
|
||||
|
||||
$pdf->MultiCell($w, 3, $title, '', 'R');
|
||||
|
||||
|
||||
@ -1003,6 +1003,9 @@ class pdf_espadon extends ModelePdfExpedition
|
||||
$pdf->SetXY($posx, $posy);
|
||||
$pdf->SetTextColor(0, 0, 60);
|
||||
$title = $outputlangs->transnoentities("SendingSheet");
|
||||
if (!empty($conf->global->MAIN_PDF_REF_IN_TITLE)) {
|
||||
$title .= " " . $outputlangs->convToOutputCharset($object->ref);
|
||||
}
|
||||
$pdf->MultiCell($w, 4, $title, '', 'R');
|
||||
|
||||
$pdf->SetFont('', '', $default_font_size + 1);
|
||||
|
||||
@ -986,6 +986,9 @@ class pdf_sponge extends ModelePDFFactures
|
||||
if ($object->type == 2) {
|
||||
$title = $outputlangs->transnoentities("PaymentsBackAlreadyDone");
|
||||
}
|
||||
if (!empty($conf->global->MAIN_PDF_REF_IN_TITLE)) {
|
||||
$title .= " " . $outputlangs->convToOutputCharset($object->ref);
|
||||
}
|
||||
|
||||
$pdf->SetFont('', '', $default_font_size - 3);
|
||||
$pdf->SetXY($tab3_posx, $tab3_top - 4);
|
||||
|
||||
@ -1574,6 +1574,9 @@ class pdf_cyan extends ModelePDFPropales
|
||||
$pdf->SetXY($posx, $posy);
|
||||
$pdf->SetTextColor(0, 0, 60);
|
||||
$title = $outputlangs->transnoentities("PdfCommercialProposalTitle");
|
||||
if (!empty($conf->global->MAIN_PDF_REF_IN_TITLE)) {
|
||||
$title .= " " . $outputlangs->convToOutputCharset($object->ref);
|
||||
}
|
||||
$pdf->MultiCell($w, 4, $title, '', 'R');
|
||||
|
||||
$pdf->SetFont('', 'B', $default_font_size);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user