add_espadon_doc
This commit is contained in:
parent
c62c53bf5e
commit
e89c1b49a8
@ -1086,6 +1086,7 @@ class pdf_espadon extends ModelePdfExpedition
|
|||||||
$widthrecbox = !empty($conf->global->MAIN_PDF_USE_ISO_LOCATION) ? 92 : 82;
|
$widthrecbox = !empty($conf->global->MAIN_PDF_USE_ISO_LOCATION) ? 92 : 82;
|
||||||
|
|
||||||
// Show sender frame
|
// Show sender frame
|
||||||
|
if (empty($conf->global->MAIN_PDF_NO_SENDER_FRAME)) {
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
$pdf->SetFont('', '', $default_font_size - 2);
|
$pdf->SetFont('', '', $default_font_size - 2);
|
||||||
$pdf->SetXY($posx, $posy - 5);
|
$pdf->SetXY($posx, $posy - 5);
|
||||||
@ -1095,6 +1096,7 @@ class pdf_espadon extends ModelePdfExpedition
|
|||||||
$pdf->MultiCell($widthrecbox, $hautcadre, "", 0, 'R', 1);
|
$pdf->MultiCell($widthrecbox, $hautcadre, "", 0, 'R', 1);
|
||||||
$pdf->SetTextColor(0, 0, 60);
|
$pdf->SetTextColor(0, 0, 60);
|
||||||
$pdf->SetFillColor(255, 255, 255);
|
$pdf->SetFillColor(255, 255, 255);
|
||||||
|
}
|
||||||
|
|
||||||
// Show sender name
|
// Show sender name
|
||||||
$pdf->SetXY($posx + 2, $posy + 3);
|
$pdf->SetXY($posx + 2, $posy + 3);
|
||||||
@ -1139,11 +1141,13 @@ class pdf_espadon extends ModelePdfExpedition
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Show recipient frame
|
// Show recipient frame
|
||||||
|
if (empty($conf->global->MAIN_PDF_NO_RECIPENT_FRAME)) {
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
$pdf->SetFont('', '', $default_font_size - 2);
|
$pdf->SetFont('', '', $default_font_size - 2);
|
||||||
$pdf->SetXY($posx + 2, $posy - 5);
|
$pdf->SetXY($posx + 2, $posy - 5);
|
||||||
$pdf->MultiCell($widthrecbox, 5, $outputlangs->transnoentities("Recipient"), 0, 'L');
|
$pdf->MultiCell($widthrecbox, 5, $outputlangs->transnoentities("Recipient"), 0, 'L');
|
||||||
$pdf->Rect($posx, $posy, $widthrecbox, $hautcadre);
|
$pdf->Rect($posx, $posy, $widthrecbox, $hautcadre);
|
||||||
|
}
|
||||||
|
|
||||||
// Show recipient name
|
// Show recipient name
|
||||||
$pdf->SetXY($posx + 2, $posy + 3);
|
$pdf->SetXY($posx + 2, $posy + 3);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user