Skip to content
Snippets Groups Projects
Commit a8376a03 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: A lot of fix in TCPDF compatibility

parent a194901e
No related branches found
No related tags found
No related merge requests found
......@@ -237,7 +237,7 @@ class pdf_paiement
$pdf->SetXY(10,10);
$pdf->MultiCell(200, 2, $title, 0, 'C');
$pdf->SetFont('','',10);
$pdf->SetFont('','',12);
$pdf->SetXY (11, 16);
$pdf->MultiCell(80, 2, $outputlangs->transnoentities("DateBuild")." : ".dol_print_date(time(),"day",false,$outputlangs,true), 0, 'L');
......@@ -247,23 +247,24 @@ class pdf_paiement
// Title line
$pdf->SetXY (11, $this->tab_top+2);
$pdf->SetXY (11, $this->tab_top+1);
$pdf->MultiCell(30, 2, 'Date');
$pdf->line(40, $this->tab_top, 40, $this->tab_top + $this->tab_height + 10);
$pdf->SetXY (42, $this->tab_top+2);
$pdf->SetXY (42, $this->tab_top+1);
$pdf->MultiCell(40, 2, $outputlangs->transnoentities("PaymentMode"), 0, 'L');
$pdf->line(80, $this->tab_top, 80, $this->tab_top + $this->tab_height + 10);
$pdf->SetXY (82, $this->tab_top+2);
$pdf->SetXY (82, $this->tab_top+1);
$pdf->MultiCell(40, 2, $outputlangs->transnoentities("Invoice"), 0, 'L');
$pdf->line(120, $this->tab_top, 120, $this->tab_top + $this->tab_height + 10);
$pdf->SetXY (122, $this->tab_top+2);
$pdf->SetXY (122, $this->tab_top+1);
$pdf->MultiCell(40, 2, $outputlangs->transnoentities("AmountInvoice"), 0, 'L');
$pdf->line(160, $this->tab_top, 160, $this->tab_top + $this->tab_height + 10);
$pdf->SetXY (162, $this->tab_top+2);
$pdf->SetXY (162, $this->tab_top+1);
$pdf->MultiCell(40, 2, $outputlangs->transnoentities("AmountPayment"), 0, 'L');
$pdf->line(10, $this->tab_top + 10, 200, $this->tab_top + 10 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment