Fix issue with pdf data overlapping.
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 18 Jun 2018 13:28:11 +0000 (09:28 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 18 Jun 2018 13:28:11 +0000 (09:28 -0400)
Issue with the phone and fax overlapping the notes.

models/admin/ajax/leadPdfExport.php

index cf89f04..4155b0e 100644 (file)
@@ -247,9 +247,12 @@ class GlmMembersAdmin_ajax_leadPdfExport extends GlmDataTravelLeads
                 }
                 $curY = $pdf->ezText( "\n", $size );
 
+                // Reset Y to just below the main info.
+                $pdf->ezSetY( $endMainY );
+
                 // Contacts
                 if ( $lead['contacts'] ) {
-                    $pdf->ezSetY( $endMainY );
+                    $pdf->selectFont( $mainFontBold );
                     $curY = $pdf->ezText( '<b>Additional Contacts</b>', $size );
                     $column = 1;
                     $saveY = $curY;