Esempio n. 1
0
 public function gerar($id)
 {
     $d = $this->programa->pesquisar($id);
     $css = "views/layout/default/bootstrap/css/bootstrap.min.css";
     $report = new \application\Recibo($css, 'sam');
     $report->BuildPDFPrograma($d);
     $report->Exibir();
 }
Esempio n. 2
0
 public function imprimir($id, $data)
 {
     $d = $this->mm->pesquisarImprimi($id, $data);
     $css = "views/layout/default/bootstrap/css/bootstrap.min.css";
     $report = new \application\Recibo($css, 'sam');
     $report->setBi($d->getMatricula()->getAluno()->getPessoa()->getBi());
     $report->setNome($d->getMatricula()->getAluno()->getPessoa()->getNome());
     $report->setData($d->getData());
     $report->setCurso($d->getModulo()->getCurso()->getNome());
     $report->setModulo($d->getModulo()->getNome());
     $report->BuildPDF();
     $report->Exibir();
 }