dossier=sprintf(_('Balance simple %s'),dossier::name()); $this->from_poste=$p_from_poste; $this->to_poste=$to_poste; $this->from=$p_from; $this->to=$p_to; } function Header() { parent::Header(); $this->SetFont('DejaVu','B',8); $titre=sprintf(_("Balance simple poste %s %s date %s %s"), $this->from_poste, $this->to_poste, $this->from, $this->to); $this->Cell(0,7,$titre,1,0,'C'); $this->Ln(); $this->SetFont('DejaVu','',6); $this->Cell(110,7,_('Poste Comptable'),'B'); $this->Cell(20,7,_('Débit'),'B',0,'L'); $this->Cell(20,7,_('Crédit'),'B',0,'L'); $this->Cell(20,7,_('Solde'),'B',0,'L'); $this->Cell(20,7,_('D/C'),'B',0,'L'); $this->Ln(); } }