Changeset 459

Show
Ignore:
Timestamp:
11/20/08 17:41:11 (2 months ago)
Author:
arnaud
Message:

Template PDF : correction taille logo 300

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/templatepdf2.class.php

    r427 r459  
    1111      $this->Image(AGENCE_IMG, 10, 10, 190); 
    1212    elseif($LOGO_SIZE && $LOGO_SIZE < 1000) 
    13       $this->Image(AGENCE_IMG, 10, 10, (($LOGO_SIZE*3)/15)); 
     13      $this->Image(AGENCE_IMG, 10, 10, (($LOGO_SIZE*3)/22)); 
    1414    else 
    1515      $this->Image(AGENCE_IMG, 10, 10, 40); 
     
    9797    $this->SetTextColor(0,0,0); 
    9898        $this->Cell(0,8,ucfirst(__('agency fees included')).' - '.ucfirst(__('not contractual information')).' - '.ucfirst(__('please do not litter on public way')).' - '.ucfirst(__('printed with care')),0,0,'C'); 
     99    $this->Ln(5); 
     100    $this->Cell(0,8,(sfContext::getInstance()->getUser()->getSubscriber()->getAgency()->getSiretNum() ? ucfirst(__('siret')).' : '.sfContext::getInstance()->getUser()->getSubscriber()->getAgency()->getSiretNum() : null).(sfContext::getInstance()->getUser()->getSubscriber()->getAgency()->getCaisseGarantieNum() ? ' - Garantie : '.sfContext::getInstance()->getUser()->getSubscriber()->getAgency()->getCaisseGarantieNum() : null).(sfContext::getInstance()->getUser()->getSubscriber()->getAgency()->getCarteProfessionnelleNum() ? ' - CP : '.sfContext::getInstance()->getUser()->getSubscriber()->getAgency()->getCarteProfessionnelleNum() : null),0,0,'C'); 
    99101  } 
    100102}