# # Alive Parish Software is distributed in the hope that it will # be useful, but WITHOUT ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # /* @var $this MarriageCertificateController */ /* @var $model MarriageCertificate */ $pdf = new CertTcPdf('P', 'cm', 'A4', true, 'UTF-8'); $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor("Terence Monteiro"); $pdf->SetTitle("Marriage Certificate"); $pdf->SetSubject("Marriage Certificate"); $pdf->SetKeywords("PDF"); $parish = Parish::get(); $pdf->setPrintHeader($parish->cert_header); $pdf->setPrintFooter(false); #$pdf->AliasNbPages(); $pdf->AddPage(); $pdf->SetFont("times", "R", 22); $pdf->Cell(0, 3, "", 0, 1); $pdf->Cell(0, 0, "MARRIAGE CERTIFICATE", 0, 1, 'C'); $pdf->SetFont("times", "B", 11); $pdf->Cell(0, 0, "EXTRACT FROM THE REGISTER OF MARRIAGES", 0, 1, 'C'); $pdf->SetFont("courier", "R", 11); $pdf->Cell(0, 0.5, '', 0, 1); $pdf->Cell(3.5, 0, '', 0, 0); $marriage = $model->marriage;
# # Alive Parish Software is distributed in the hope that it will # be useful, but WITHOUT ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # /* @var $this MarriageCertificateController */ /* @var $model MarriageCertificate */ $pdf = new CertTcPdf('P', 'cm', 'A4', true, 'UTF-8'); $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor("Terence Monteiro"); $pdf->SetTitle("First Communion Certificate"); $pdf->SetSubject("First Communion Certificate"); $pdf->SetKeywords("PDF"); $parish = Parish::get(); $pdf->setPrintHeader($parish->cert_header); $pdf->setPrintFooter(false); #$pdf->AliasNbPages(); $pdf->AddPage(); if ($parish->cert_header) { $comm_src = dirname(__FILE__) . "/../../../images/holy-commn-remember.jpg"; $pdf->Image($comm_src, 1, 6, '', 12, 'JPG', '', 'T', false, 300, 'C', false, false, 0, false, false, false); $pdf->Cell(0, 14, "", 0, 1); } else { $pdf->Cell(0, 19, "", 0, 1); } $pdf->SetFont("times", "R", 20); $pdf->Cell(0, 0, "Remembrance Of First Holy Communion", 0, 1, 'C');
# published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # Alive Parish Software is distributed in the hope that it will # be useful, but WITHOUT ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # $pdf = new CertTcPdf('P', 'cm', 'A4', true, 'UTF-8'); $pdf->SetCreator(PDF_CREATOR); $pdf->SetAuthor("Terence Monteiro"); $pdf->SetTitle("Death Certificate"); $pdf->SetSubject("Death Certificate"); $pdf->SetKeywords("PDF"); $parish = Parish::get(); $pdf->setPrintHeader($parish->cert_header); $pdf->setPrintFooter(false); $pdf->AddPage(); $pdf->SetFont("times", "R", 26); $pdf->Cell(0, 5, "", 0, 1); $pdf->Cell(3, 0, '', 0, 0); $pdf->Cell(0, 0, "ROMAN CATHOLIC CEMETERY", 0, 1, 'L'); $pdf->SetFont("courier", "B", 16); $pdf->Cell(5, 0, '', 0, 0); $pdf->Cell(0, 1, " PARTICULARS OF BURIAL", 0, 1, 'L'); $pdf->SetFont("courier", "R", 11); $death = $model->death; $pdf->Cell(0, 1, "", 0, 1);