forked from Wavyzz/dolibarr
other_doc
This commit is contained in:
@@ -1408,6 +1408,7 @@ class pdf_einstein extends ModelePDFCommandes
|
|||||||
$hautcadre = 40;
|
$hautcadre = 40;
|
||||||
|
|
||||||
// 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);
|
||||||
@@ -1416,6 +1417,7 @@ class pdf_einstein extends ModelePDFCommandes
|
|||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
||||||
$pdf->SetTextColor(0, 0, 60);
|
$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
|
||||||
|
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);
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
$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,6 +1036,7 @@ 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
|
||||||
|
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);
|
||||||
@@ -1045,6 +1046,7 @@ class pdf_rouget 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);
|
||||||
|
|||||||
@@ -1850,6 +1850,7 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
|
|
||||||
|
|
||||||
// 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);
|
||||||
@@ -1858,6 +1859,7 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
$pdf->MultiCell($widthrecbox, $hautcadre, "", 0, 'R', 1);
|
$pdf->MultiCell($widthrecbox, $hautcadre, "", 0, 'R', 1);
|
||||||
$pdf->SetTextColor(0, 0, 60);
|
$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
|
||||||
|
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);
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->SetFillColor(230, 230, 230);
|
$pdf->SetFillColor(230, 230, 230);
|
||||||
$pdf->MultiCell(82, $hautcadre, "", 0, 'R', 1);
|
$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