Fix: A lot of fix in TCPDF compatibility
This commit is contained in:
parent
a194901ede
commit
a8376a038a
@ -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 );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user