Update pdf invoice
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 14 Feb 2019 18:05:37 +0000 (13:05 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 14 Feb 2019 18:05:37 +0000 (13:05 -0500)
Move the pay this amount up

lib/GlmPDFInvoice.php

index 0c5f3b9..f495d8b 100644 (file)
@@ -288,28 +288,30 @@ class GlmPDFInvoice extends Cezpdf
             //         $MAXcodeWidth = $v['x'] + $v['b'];
             //     }
             // }
-            $this->ezSetY( 130 );
-            // $this->ezText( $barcode, $this->pdf_font_size, array( 'aright' => 335, 'justification' => 'right' ) );
-            $barCode = array(
-                array( 'content' => $barcode ),
-            );
-            $this->ezTable(
-                $barCode,
-                array( 'content' => 'barcode' ),
-                '',
-                array(
-                    'fontSize'     => $this->pdf_font_size,
-                    'showHeadings' => 0,
-                    'showLines'    => 0,
-                    'width'        => 250,
-                    'xPos'         => 300,
-                    'xOrientation' => 'right',
-                    'cols' => array(
-                        'content' => array( 'width' => 250 )
-                    ),
-                )
-            );
+            // $this->ezSetY( 130 );
+            $this->ezSetY( 150 );
             $this->ezText( '', $this->pdf_font_size );
+            // $this->ezText( $barcode, $this->pdf_font_size, array( 'aright' => 335, 'justification' => 'right' ) );
+            // $barCode = array(
+            //     array( 'content' => $barcode ),
+            // );
+            // $this->ezTable(
+            //     $barCode,
+            //     array( 'content' => 'barcode' ),
+            //     '',
+            //     array(
+            //         'fontSize'     => $this->pdf_font_size,
+            //         'showHeadings' => 0,
+            //         'showLines'    => 0,
+            //         'width'        => 250,
+            //         'xPos'         => 300,
+            //         'xOrientation' => 'right',
+            //         'cols' => array(
+            //             'content' => array( 'width' => 250 )
+            //         ),
+            //     )
+            // );
+            // $this->ezText( '', $this->pdf_font_size );
             $paymentForm1 = array(
                 array( 'header' => '<b>Please Pay:</b>', 'value' => '$'.$invoice['balance'] ),
             );