forked from Wavyzz/dolibarr
other_doc
This commit is contained in:
@@ -1408,14 +1408,16 @@ class pdf_einstein extends ModelePDFCommandes
|
|||||||
$hautcadre = 40;
|
$hautcadre = 40;
|
||||||
|
|
||||||
// Show sender frame
|
// Show sender frame
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
if (empty($conf->global->MAIN_PDF_NO_SENDER_FRAME)) {
|
||||||
$pdf->SetFont('', '', $default_font_size - 2);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
$pdf->SetXY($posx, $posy - 5);
|
$pdf->SetFont('', '', $default_font_size - 2);
|
||||||
$pdf->MultiCell(80, 5, $outputlangs->transnoentities("BillFrom"), 0, $ltrdirection);
|
$pdf->SetXY($posx, $posy - 5);
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->MultiCell(80, 5, $outputlangs->transnoentities("BillFrom"), 0, $ltrdirection);
|
||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
$pdf->SetTextColor(0, 0, 60);
|
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
||||||
|
$pdf->SetTextColor(0, 0, 60);
|
||||||
|
}
|
||||||
|
|
||||||
// Show sender name
|
// Show sender name
|
||||||
$pdf->SetXY($posx + 2, $posy + 3);
|
$pdf->SetXY($posx + 2, $posy + 3);
|
||||||
|
|||||||
@@ -685,12 +685,14 @@ class pdf_strato extends ModelePDFContract
|
|||||||
$hautcadre = 40;
|
$hautcadre = 40;
|
||||||
|
|
||||||
// Show sender frame
|
// Show sender frame
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
if (empty($conf->global->MAIN_PDF_NO_SENDER_FRAME)) {
|
||||||
$pdf->SetFont('', '', $default_font_size - 2);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
$pdf->SetXY($posx, $posy - 5);
|
$pdf->SetFont('', '', $default_font_size - 2);
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->SetXY($posx, $posy - 5);
|
||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
|
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
||||||
|
}
|
||||||
|
|
||||||
// Show sender name
|
// Show sender name
|
||||||
$pdf->SetXY($posx + 2, $posy + 3);
|
$pdf->SetXY($posx + 2, $posy + 3);
|
||||||
|
|||||||
@@ -1036,15 +1036,17 @@ class pdf_rouget 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
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
if (empty($conf->global->MAIN_PDF_NO_SENDER_FRAME)) {
|
||||||
$pdf->SetFont('', '', $default_font_size - 2);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
$pdf->SetXY($posx, $posy - 5);
|
$pdf->SetFont('', '', $default_font_size - 2);
|
||||||
$pdf->MultiCell($widthrecbox, 5, $outputlangs->transnoentities("Sender"), 0, 'L');
|
$pdf->SetXY($posx, $posy - 5);
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->MultiCell($widthrecbox, 5, $outputlangs->transnoentities("Sender"), 0, 'L');
|
||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->MultiCell($widthrecbox, $hautcadre, "", 0, 'R', 1);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
$pdf->SetTextColor(0, 0, 60);
|
$pdf->MultiCell($widthrecbox, $hautcadre, "", 0, 'R', 1);
|
||||||
$pdf->SetFillColor(255, 255, 255);
|
$pdf->SetTextColor(0, 0, 60);
|
||||||
|
$pdf->SetFillColor(255, 255, 255);
|
||||||
|
}
|
||||||
|
|
||||||
// Show sender name
|
// Show sender name
|
||||||
$pdf->SetXY($posx + 2, $posy + 3);
|
$pdf->SetXY($posx + 2, $posy + 3);
|
||||||
|
|||||||
@@ -1850,14 +1850,16 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
|
|
||||||
|
|
||||||
// Show sender frame
|
// Show sender frame
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
if (empty($conf->global->MAIN_PDF_NO_SENDER_FRAME)) {
|
||||||
$pdf->SetFont('', '', $default_font_size - 2);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
$pdf->SetXY($posx, $posy - 5);
|
$pdf->SetFont('', '', $default_font_size - 2);
|
||||||
$pdf->MultiCell($widthrecbox, 5, $outputlangs->transnoentities("BillFrom"), 0, $ltrdirection);
|
$pdf->SetXY($posx, $posy - 5);
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->MultiCell($widthrecbox, 5, $outputlangs->transnoentities("BillFrom"), 0, $ltrdirection);
|
||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->MultiCell($widthrecbox, $hautcadre, "", 0, 'R', 1);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
$pdf->SetTextColor(0, 0, 60);
|
$pdf->MultiCell($widthrecbox, $hautcadre, "", 0, 'R', 1);
|
||||||
|
$pdf->SetTextColor(0, 0, 60);
|
||||||
|
}
|
||||||
|
|
||||||
// Show sender name
|
// Show sender name
|
||||||
$pdf->SetXY($posx + 2, $posy + 3);
|
$pdf->SetXY($posx + 2, $posy + 3);
|
||||||
|
|||||||
@@ -641,12 +641,14 @@ class pdf_soleil extends ModelePDFFicheinter
|
|||||||
$hautcadre = 40;
|
$hautcadre = 40;
|
||||||
|
|
||||||
// Show sender frame
|
// Show sender frame
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
if (empty($conf->global->MAIN_PDF_NO_SENDER_FRAME)) {
|
||||||
$pdf->SetFont('', '', $default_font_size - 2);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
$pdf->SetXY($posx, $posy - 5);
|
$pdf->SetFont('', '', $default_font_size - 2);
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->SetXY($posx, $posy - 5);
|
||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
|
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
||||||
|
}
|
||||||
|
|
||||||
// Show sender name
|
// Show sender name
|
||||||
$pdf->SetXY($posx + 2, $posy + 3);
|
$pdf->SetXY($posx + 2, $posy + 3);
|
||||||
|
|||||||
Reference in New Issue
Block a user