From f6d762681a9aa03a8e5a0bbf1885edb441939fcc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 19 Oct 2010 19:15:27 +0000 Subject: [PATCH] Fix: Increase size of payment number --- htdocs/includes/modules/facture/pdf_crabe.modules.php | 8 ++++---- htdocs/includes/modules/facture/pdf_oursin.modules.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 1f72bf6a5ea..df4d4cd70bf 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -446,7 +446,7 @@ class pdf_crabe extends ModelePDFFactures $pdf->MultiCell(20, 3, $outputlangs->transnoentities("Payment"), 0, 'L', 0); $pdf->SetXY ($tab3_posx+21, $tab3_top ); $pdf->MultiCell(20, 3, $outputlangs->transnoentities("Amount"), 0, 'L', 0); - $pdf->SetXY ($tab3_posx+41, $tab3_top ); + $pdf->SetXY ($tab3_posx+40, $tab3_top ); $pdf->MultiCell(20, 3, $outputlangs->transnoentities("Type"), 0, 'L', 0); $pdf->SetXY ($tab3_posx+58, $tab3_top ); $pdf->MultiCell(20, 3, $outputlangs->transnoentities("Num"), 0, 'L', 0); @@ -482,9 +482,9 @@ class pdf_crabe extends ModelePDFFactures $pdf->MultiCell(20, 3, dol_print_date($obj->datef,'day',false,$outputlangs,true), 0, 'L', 0); $pdf->SetXY ($tab3_posx+21, $tab3_top+$y); $pdf->MultiCell(20, 3, price($obj->amount_ttc), 0, 'L', 0); - $pdf->SetXY ($tab3_posx+41, $tab3_top+$y); + $pdf->SetXY ($tab3_posx+40, $tab3_top+$y); $pdf->MultiCell(20, 3, $text, 0, 'L', 0); - $pdf->SetXY ($tab3_posx+60, $tab3_top+$y); + $pdf->SetXY ($tab3_posx+58, $tab3_top+$y); $pdf->MultiCell(20, 3, $invoice->ref, 0, 'L', 0); $pdf->line($tab3_posx, $tab3_top+$y+3, $tab3_posx+$tab3_width, $tab3_top+$y+3 ); @@ -519,7 +519,7 @@ class pdf_crabe extends ModelePDFFactures $pdf->MultiCell(20, 3, dol_print_date($this->db->jdate($row->date),'day',false,$outputlangs,true), 0, 'L', 0); $pdf->SetXY ($tab3_posx+21, $tab3_top+$y); $pdf->MultiCell(20, 3, price($row->amount), 0, 'L', 0); - $pdf->SetXY ($tab3_posx+41, $tab3_top+$y); + $pdf->SetXY ($tab3_posx+40, $tab3_top+$y); $oper = $outputlangs->getTradFromKey("PaymentTypeShort" . $row->code); $pdf->MultiCell(20, 3, $oper, 0, 'L', 0); diff --git a/htdocs/includes/modules/facture/pdf_oursin.modules.php b/htdocs/includes/modules/facture/pdf_oursin.modules.php index f7f5b6eebc5..56228a8ec86 100644 --- a/htdocs/includes/modules/facture/pdf_oursin.modules.php +++ b/htdocs/includes/modules/facture/pdf_oursin.modules.php @@ -340,7 +340,7 @@ class pdf_oursin extends ModelePDFFactures $pdf->MultiCell(20, 4, $outputlangs->transnoentities("Payment"), 0, 'L', 0); $pdf->SetXY ($tab3_posx+21, $tab3_top-1 ); $pdf->MultiCell(20, 4, $outputlangs->transnoentities("Amount"), 0, 'L', 0); - $pdf->SetXY ($tab3_posx+41, $tab3_top-1 ); + $pdf->SetXY ($tab3_posx+40, $tab3_top-1 ); $pdf->MultiCell(20, 4, $outputlangs->transnoentities("Type"), 0, 'L', 0); $pdf->SetXY ($tab3_posx+58, $tab3_top-1 ); $pdf->MultiCell(20, 4, $outputlangs->transnoentities("Num"), 0, 'L', 0); @@ -376,9 +376,9 @@ class pdf_oursin extends ModelePDFFactures $pdf->MultiCell(20, 3, dol_print_date($obj->datef,'day',false,$outputlangs,true), 0, 'L', 0); $pdf->SetXY ($tab3_posx+21, $tab3_top+$y); $pdf->MultiCell(20, 3, price($obj->amount_ttc), 0, 'L', 0); - $pdf->SetXY ($tab3_posx+41, $tab3_top+$y); + $pdf->SetXY ($tab3_posx+40, $tab3_top+$y); $pdf->MultiCell(20, 3, $text, 0, 'L', 0); - $pdf->SetXY ($tab3_posx+60, $tab3_top+$y); + $pdf->SetXY ($tab3_posx+58, $tab3_top+$y); $pdf->MultiCell(20, 3, $invoice->ref, 0, 'L', 0); $pdf->line($tab3_posx, $tab3_top+$y+3, $tab3_posx+$tab3_width, $tab3_top+$y+3 ); @@ -413,7 +413,7 @@ class pdf_oursin extends ModelePDFFactures $pdf->MultiCell(20, 3, dol_print_date($this->db->jdate($row->date),'day',false,$outputlangs,true), 0, 'L', 0); $pdf->SetXY ($tab3_posx+21, $tab3_top+$y); $pdf->MultiCell(20, 3, price($row->amount), 0, 'L', 0); - $pdf->SetXY ($tab3_posx+41, $tab3_top+$y); + $pdf->SetXY ($tab3_posx+40, $tab3_top+$y); $oper = $outputlangs->getTradFromKey("PaymentTypeShort" . $row->code); $pdf->MultiCell(20, 3, $oper, 0, 'L', 0);