} } } } } } } } $pdf->SetFont('Arial', '', 8); $pdf->Ln(8); $pdf->SetX(230); $pdf->Cell(40, 6, 'Pemalang, ' . date('d') . ' ' . $this->fungsiku->bulan_full(intval(date('m'))) . ' ' . date('Y'), 0, 0, 'C'); $pdf->Ln(); $pdf->SetX(230); $pdf->Cell(40, 5, 'KEPALA DINAS PEKERJAAN UMUM', 0, 0, 'C'); $pdf->Ln(); $pdf->SetX(230); $pdf->Cell(40, 5, 'KABUPATEN PEMALANG', 0, 0, 'C'); $pdf->Ln(25); $pdf->SetX(230); $pdf->Cell(40, 5, 'Ir. SUDARYONO, CES', 0, 0, 'C'); $pdf->SetFont('Arial', '', 7); $pdf->Ln(); $pdf->SetX(230); $pdf->Cell(40, 4, 'Pembina Utama Muda', 0, 0, 'C'); $pdf->Ln(); $pdf->SetX(230); $pdf->Cell(40, 4, 'NIP. 196000722 1990002 1 001', 0, 0, 'C'); //the output $pdf->Output('laporan_kegiatan_' . $tahun . '.pdf', 'I');
$pdf->SetAligns(array('C', 'L', 'C', 'R', 'R', 'C', 'C', 'R', 'R', 'R', 'R', 'R', 'R', 'R', 'R')); $pdf->Row(array('', ' ' . $nodet . '. ' . $rowdet->nama_kegiatan, '', $rowdet->vol_paket, number_format($rowdet->vol_unit, 0, ",", "."), '', '', number_format($rowdet->jml_dak, 0, ",", "."), number_format($rowdet->jml_pendamping, 0, ",", "."), number_format($total, 0, ",", "."), $swakeloladet, $kontrakdet, number_format($rowdet->real_rp, 0, ",", "."), $serap_persendet, number_format($rowdet->real_fisik, 2, ",", "."), '', '', '')); } } } } } } $pdf->SetFont('Arial', '', 8); $pdf->Ln(8); $pdf->SetX(230); $pdf->Cell(40, 6, 'Pemalang, ' . date('d') . ' ' . $this->fungsiku->bulan_full(intval(date('m'))) . ' ' . date('Y'), 0, 0, 'C'); $pdf->Ln(); $pdf->SetX(230); $pdf->Cell(40, 5, 'KEPALA DINAS PEKERJAAN UMUM', 0, 0, 'C'); $pdf->Ln(); $pdf->SetX(230); $pdf->Cell(40, 5, 'KABUPATEN PEMALANG', 0, 0, 'C'); $pdf->Ln(25); $pdf->SetX(230); $pdf->Cell(40, 5, 'Ir. SUDARYONO, CES', 0, 0, 'C'); $pdf->SetFont('Arial', '', 7); $pdf->Ln(); $pdf->SetX(230); $pdf->Cell(40, 4, 'Pembina Utama Muda', 0, 0, 'C'); $pdf->Ln(); $pdf->SetX(230); $pdf->Cell(40, 4, 'NIP. 196000722 1990002 1 001', 0, 0, 'C'); //the output $pdf->Output('laporan_dak_' . $this->fungsiku->bulan_full((int) $bulan) . '-' . $tahun . '.pdf', 'I');