Пример #1
0
 /**
  *Верстка нижней части документа(подпись, дата)
  */
 protected function getsignature()
 {
     $x = pdf1234::signature();
     $this->pdf->setY(265);
     if ($this->temp == 'prosecutor' || $this->temp == 'prosecutor2') {
         $date = date('d.m.Y');
     } else {
         $date = $this->params['date2.day'] . '.' . $this->params['date2.month'] . '.' . $this->params['date2.year'];
     }
     $this->pdf->Write(5, $date . '  ' . $this->params['signature']);
     $this->pdf->setY(270);
     $this->pdf->SetX(20);
     $this->pdf->SetX(20);
     $this->pdf->Write(5, $x);
     $this->pdf->Ln();
 }