Changed Header_3 function to increase the y-value in the logo.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 11 Feb 2013 00:05:09 +0000 (01:05 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 11 Feb 2013 00:05:09 +0000 (01:05 +0100)
reporting/includes/pdf_report.inc

index caf01d966c4dc4a7d13277a013a44485fa520161..40e750080657fcee2a3ad671f3457669ce381410 100644 (file)
@@ -528,7 +528,7 @@ class FrontReport extends Cpdf
                        // Width being zero means that the image will be scaled to the specified height
                        // keeping its aspect ratio intact.
                        if ($this->scaleLogoWidth)
-                               $this->AddImage($logo, $companyCol, $this->row, COMPANY_WIDTH, 0);
+                               $this->AddImage($logo, $companyCol, $this->row + 15, COMPANY_WIDTH, 0);
                        else    
                                $this->AddImage($logo, $companyCol, $this->row - (LOGO_HEIGHT * LOGO_Y_POS_ADJ_FACTOR), 0, LOGO_HEIGHT);
                }