Author: benj
Date: Thu Oct 13 11:43:21 2016
New Revision: 1746

URL: http://svn.gna.org/viewcvs/gdtc?rev=1746&view=rev
Log:
Remove useless crap (this will avoid 2 pages invoices)
Align the address more on the left


Modified:
    trunk/gdtc/include/fpdf.php

Modified: trunk/gdtc/include/fpdf.php
URL: 
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/include/fpdf.php?rev=1746&r1=1745&r2=1746&view=diff
==============================================================================
--- trunk/gdtc/include/fpdf.php (original)
+++ trunk/gdtc/include/fpdf.php Thu Oct 13 11:43:21 2016
@@ -139,7 +139,7 @@
     $pdf->AliasNbPages();
     $pdf->AddPage();
 
-    $pdf->Cell(2*$pdf->w/3-$pdf->lMargin+5, 0 );
+    $pdf->Cell($pdf->w/2-$pdf->lMargin+5, 0 );
     if ( $actor [ 'actor_type' ] == 'person' )
        $pdf->Cell(0, 5, 
                   $result [ 'civility' ] . ' ' . 
@@ -151,11 +151,11 @@
                   recode ('utf8..iso88591', $result [ 'name' ] ), 
                   0, 1, 'L');
 
-    $pdf->Cell(2*$pdf->w/3-$pdf->lMargin+5, 0 );
+    $pdf->Cell($pdf->w/2-$pdf->lMargin+5, 0 );
     $pdf->Cell(0,5, recode ('utf8..iso88591', $result [ 'address1' ] ), 0, 1, 
'L');
     if ( $result [ 'address2' ] )
       {
-       $pdf->Cell(2*$pdf->w/3-$pdf->lMargin+5, 0 );
+       $pdf->Cell($pdf->w/2-$pdf->lMargin+5, 0 );
        $pdf->Cell(0,5, recode ('utf8..iso88591', $result [ 'address2' ] ), 0, 
1, 'L');
       }
     if ( $result [ 'address3' ] )
@@ -163,7 +163,7 @@
        $pdf->Cell($pdf->w/3-$pdf->lMargin+5, 0 );
        $pdf->Cell(0,5, recode ('utf8..iso88591', $result [ 'address3' ] ), 0, 
1, 'L');
       }
-    $pdf->Cell(2*$pdf->w/3-$pdf->lMargin+5, 0 );
+    $pdf->Cell($pdf->w/2-$pdf->lMargin+5, 0 );
     $pdf->Cell(0,5, $result [ 'zip_code' ] . ' ' . 
               recode ('utf8..iso88591', $result [ 'city' ] ), 0, 1, 'L');
     $pdf->Ln();
@@ -221,10 +221,6 @@
     $pdf->Cell(0,7, "IBAN : FR76 1027 8060 7600 0203 6954 127", 0, 1);
     $pdf->Cell(0,7, "BIC (Bank Identifier Code) : CMCIFR2A", 0, 1);
     $pdf->Cell(0,7, "Domiciliation: CCM PARIS MAGENTA", 0, 1);
-    $pdf->Cell(0,7, "Code Etablis.: 10278", 0, 1);
-    $pdf->Cell(0,7, "Code Guichet : 06076", 0, 1);
-    $pdf->Cell(0,7, "N° de Compte : 00020369541", 0, 1);
-    $pdf->Cell(0,7, "Clé R.I.B. : 27", 0, 1);
 
     $pdf->Output(sprintf ( "April-facture-%04d%02d-%05d-%06d.pdf", 
                           $result [ 'ystart' ],


_______________________________________________
Gdtc-commits mailing list
Gdtc-commits@gna.org
https://mail.gna.org/listinfo/gdtc-commits

Reply via email to