Browse Source

change back logo format from png to gif to avoid pdf export issue TG-20

SiM 4 years ago
parent
commit
eac2df7ef2
5 changed files with 3 additions and 3 deletions
  1. 1 1
      lib/ScanReportPdf.php
  2. 1 1
      lib/fpdf/invoice.php
  3. 1 1
      web/css/main.css
  4. BIN
      web/images/logo.gif
  5. BIN
      web/images/logo.png

+ 1 - 1
lib/ScanReportPdf.php

@@ -182,7 +182,7 @@ class ScanReportPdf extends FPDF {
         $position = 10;
         $this->setXY($position, $top);
 
-        $this->Image(sfConfig::get('sf_web_dir') . '/images/logo.png', $position, 10, 15);
+        $this->Image(sfConfig::get('sf_web_dir') . '/images/logo.gif', $position, 10, 15);
 	}
 }
 

+ 1 - 1
lib/fpdf/invoice.php

@@ -148,7 +148,7 @@ function sizeOfText( $texte, $largeur )
 // les coordonnees de la societe dans la police Arial-10
 function addSociete( $nom, $adresse, $period = '', $node = '', $orders = '' )
 {
-	$this->Image(sfConfig::get('sf_web_dir') . '/images/logo.png', 7, 5, 30, 37, 'gif', sfConfig::get('app_katao_frontend_url'));
+	$this->Image(sfConfig::get('sf_web_dir') . '/images/logo.gif', 7, 5, 30, 37, 'gif', sfConfig::get('app_katao_frontend_url'));
 	$x1 = 10 + 33;
 	$y1 = 8;
 	//Positionnement en bas

+ 1 - 1
web/css/main.css

@@ -837,7 +837,7 @@ form,fieldset{
 	float:left;
 }
 .logo a{
-	background:url(../images/logo.png) no-repeat;
+	background:url(../images/logo.gif) no-repeat;
 	width:380px;
 	height:129px;
 	overflow:hidden;

BIN
web/images/logo.gif


BIN
web/images/logo.png