Changeset 459
- Timestamp:
- 11/20/08 17:41:11 (2 months ago)
- Files:
-
- trunk/lib/templatepdf2.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/templatepdf2.class.php
r427 r459 11 11 $this->Image(AGENCE_IMG, 10, 10, 190); 12 12 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)); 14 14 else 15 15 $this->Image(AGENCE_IMG, 10, 10, 40); … … 97 97 $this->SetTextColor(0,0,0); 98 98 $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'); 99 101 } 100 102 }
