dossier='Balance simple '.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(); } }