Ejemplo n.º 1
0
 function laporan_neraca()
 {
     $data['title'] = "LAPORAN NERACA";
     $data['wajib_pajak_data'] = $this->pajak_model->get_data();
     $bulan = $this->uri->segment(3);
     $data['bulan'] = $bulan ? nama_bulan($bulan) : FALSE;
     $data['tahun'] = $this->uri->segment(4);
     $data['neraca_data'] = $this->_get_neraca_data($bulan, $data['tahun']);
     $this->load->view('laporan_keuangan/neraca', $data);
 }
Ejemplo n.º 2
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 5;
     $margin = 8;
     $tinggi = 275;
     $w = array(0, 180);
     if (substr(date('m'), 0, 1) == '0') {
         $bulan = substr(date('m'), 1, 1);
     } else {
         $bulan = date('m');
     }
     $this->Ln();
     $this->SetFont($font, 'B', $size + 2);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'DAFTAR PEMEGANG JABATAN', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit . '00'))), '', 1, 'C');
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($bulan) . ' ' . $th, '', 1, 'C');
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln * 5, '', '', 1, 'C');
     $this->SetY(20);
     $this->SetFont($font, '', $size - 3);
     $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R');
     $w1 = array(10, 50, 55, 10, 60, 12);
     $this->SetFont($font, 'B', $size);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 2, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $this->Cell($w1[1], $ln, 'Bidang/Bagian', $noborder, 0, 'C');
     $y = $this->GetY();
     $this->SetXY($margin + $w1[0], $y + 4);
     $this->Cell($w1[1], $ln, 'SubBidang/SubBagian', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y);
     $this->Cell($w1[1], $ln * 2, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln * 2, 'Nama Pegawai', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln * 2, 'Gol.', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln * 2, 'Nama Jabatan', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $this->Cell($w1[5], $ln * 2, 'Grade', $border, 1, 'C');
 }
Ejemplo n.º 3
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $kdbulan = $_REQUEST['kdbulan'];
     if (substr($kdbulan, 0, 1) == '0') {
         $kdbl = substr($kdbulan, 1, 1);
     }
     if (substr($kdbulan, 0, 1) != '0') {
         $kdbl = $kdbulan;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 4;
     $margin = 15;
     $tinggi = 275;
     $w = array(0, 280);
     $this->SetFont($font, 'B', $size + 3);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, 'KEMENTERIAN PENDIDIKAN DAN KEBUDAYAAN', '', 1, 'L');
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, strtoupper(trim(nm_unitkerja($kdunit))), '', 1, 'L');
     $this->SetFont($font, 'B', $size + 2);
     $this->Ln() + 5;
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, 'DAFTAR NOMINATIF PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     if ($kdbl != 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl)) . ' ' . $th, '', 1, 'C');
     }
     if ($kdbl == 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . nama_bulan($kdbl) . ' TAHUN ' . $th, '', 1, 'C');
     }
     $this->SetY(28);
     $this->SetFont($font, '', $size - 3);
     $this->Cell(0, 8, 'Hal. ' . $this->PageNo(), 0, 1, 'R');
     $w1 = array(10, 55, 15, 65, 20, 35);
     $this->SetFont($font, 'B', $size);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $y = $this->GetY();
     $this->Cell($w1[1], $ln, 'Nama Pegawai', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y + 4);
     $this->Cell($w1[1], $ln, 'NIP', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y);
     $this->Cell($w1[1], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 2);
     $this->Cell($w1[2], $ln, 'Gol /', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 6);
     $this->Cell($w1[2], $ln, 'Status', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y);
     $this->Cell($w1[2], $ln * 3, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln * 3, 'Nama Jabatan / TMT', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 2);
     $this->Cell($w1[4], $ln, 'Kelas', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 6);
     $this->Cell($w1[4], $ln, 'Jabatan', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y);
     $this->Cell($w1[4], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 2);
     $this->Cell($w1[5], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 6);
     $this->Cell($w1[5], $ln, 'Sebelum Pajak', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[5], $ln * 3, 'Tunjangan Pajak', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y);
     $this->Cell($w1[5], $ln, 'Tunjangan Kinerja', $noborder, 1, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 4);
     $this->Cell($w1[5], $ln, 'Setelah Ditambah', $noborder, 1, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 8);
     $this->Cell($w1[5], $ln, 'Tunjangan Pajak', $noborder, 1, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 1, 'C');
     $this->SetFont($font, 'B', $size - 2);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln, '(1)', $border, 0, 'C');
     $this->Cell($w1[1], $ln, '(2)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln, '(3)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln, '(4)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln, '(5)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $this->Cell($w1[5], $ln, '(6)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[5], $ln, '(7)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2);
     $this->Cell($w1[5], $ln, '(8=6+7)', $border, 1, 'C');
 }
Ejemplo n.º 4
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $kdbulan = $_REQUEST['kdbulan'];
     if (substr($kdbulan, 0, 1) == '0') {
         $kdbl = substr($kdbulan, 1, 1);
     }
     if (substr($kdbulan, 0, 1) != '0') {
         $kdbl = $kdbulan;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 4;
     $margin = 5;
     $tinggi = 275;
     $w = array(0, 280);
     $this->Ln();
     $this->SetFont($font, 'B', $size + 2);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'REKAPITULASI KEHADIRAN PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit . '00'))), '', 1, 'C');
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($kdbl) . ' ' . $th, '', 1, 'C');
     //			$this->Ln();
     $this->SetY(17);
     $this->SetFont($font, '', $size - 3);
     $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R');
     //			if ($this->PageNo() != 1) $this->Line($margin, $this->GetY(), $margin+180,$this->GetY());
     //			$this->Ln();
     $w1 = array(10, 45, 40, 0, 0, 0, 15, 15);
     $this->SetFont($font, 'B', $size);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 4, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $ya = $this->GetY();
     $y = $this->GetY();
     $this->Cell($w1[1], $ln * 4, 'Unit Kerja', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln * 4, 'Nama / NIP', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[6] * 7, $ln, 'Catatan Kehadiran', $border, 0, 'C');
     $y = $this->GetY();
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 4);
     $this->Cell($w1[6], $ln, '', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6], $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'Terlambat', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 3, $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'Keluar Smtara', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 5, $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'Pulang Blm Wkt', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 7, $y + 2);
     $this->Cell($w1[6] * 3, $ln, 'Cuti', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 7, $y);
     $this->Cell($w1[6] * 3, $ln * 2, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y);
     $this->Cell($w1[6], $ln, 'Tugas', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y + 4);
     $this->Cell($w1[6], $ln, 'Belajar', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y);
     $this->Cell($w1[6], $ln * 2, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y);
     $this->Cell($w1[6], $ln, 'Tidak', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y + 4);
     $this->Cell($w1[6], $ln, 'Ikut', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 6);
     $this->Cell($w1[6], $ln, 'Tanpa', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6], $y + 8);
     $this->Cell($w1[6], $ln, 'TL1', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 2, $y + 8);
     $this->Cell($w1[6], $ln, 'TL2', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 3, $y + 8);
     $this->Cell($w1[6], $ln, 'KS1', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 4, $y + 8);
     $this->Cell($w1[6], $ln, 'KS2', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 5, $y + 8);
     $this->Cell($w1[6], $ln, 'PSW1', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 6, $y + 8);
     $this->Cell($w1[6], $ln, 'PSW2', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 7, $y + 8);
     $this->Cell($w1[6], $ln, 'CT', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 8, $y + 8);
     $this->Cell($w1[6], $ln, 'CSRI', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 9, $y + 8);
     $this->Cell($w1[6], $ln, 'CP', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y + 8);
     $this->Cell($w1[6], $ln, 'TB<3', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y + 8);
     $this->Cell($w1[6], $ln, 'Upacara', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 10);
     $this->Cell($w1[6], $ln, 'Ket.', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6], $y + 12);
     $this->Cell($w1[6], $ln, 'TL3', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 2, $y + 12);
     $this->Cell($w1[6], $ln, 'TL4', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 3, $y + 12);
     $this->Cell($w1[6], $ln, 'KS3', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 4, $y + 12);
     $this->Cell($w1[6], $ln, 'KS4', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 5, $y + 12);
     $this->Cell($w1[6], $ln, 'PSW3', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 6, $y + 12);
     $this->Cell($w1[6], $ln, 'PSW4', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 7, $y + 12);
     $this->Cell($w1[6], $ln, 'CB', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 8, $y + 12);
     $this->Cell($w1[6], $ln, 'CSRJ', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 9, $y + 12);
     $this->Cell($w1[6], $ln, 'CM', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 10, $y + 12);
     $this->Cell($w1[6], $ln, 'TB>=3', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y + 12);
     $this->Cell($w1[6], $ln, 'Bendera', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 4);
     $this->Cell($w1[6], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 11, $y);
     $this->Cell($w1[6], $ln * 4, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 12, $ya + 2);
     $this->Cell($w1[7], $ln, 'Jumlah', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 12, $ya + 6);
     $this->Cell($w1[7], $ln, 'Pot.', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[6] * 12, $ya);
     $this->Cell($w1[7], $ln * 4, '', $border, 1, 'C');
 }
Ejemplo n.º 5
0
		<td width="488"><input type="text" size="5" readonly="readonly" value="<?php 
echo $value[0];
?>
" /></td>
	</tr>
	<tr>
		<td class="key">Bulan</td>
		<?php 
if (substr($value[2], 0, 1) == '0') {
    $bulan = substr($value[2], 1, 1);
} else {
    $bulan = $value[2];
}
?>
		<td><input type="text" size="30" readonly="readonly" value="<?php 
echo nama_bulan($bulan) . ' ' . $value[1];
?>
" /></td>
	</tr>
	<tr>
		<td class="key">Nama Pegawai </td>
		<td><input type="text" size="70" readonly="readonly" value="<?php 
echo nama_peg($value[3]);
?>
" /></td>
	</tr>
	<tr>
	  <td class="key">Jabatan</td>
	  <td><input type="text" size="70" readonly="readonly" value="<?php 
echo nm_jabatan_ij($value[5], $value[4]);
?>
Ejemplo n.º 6
0
 function Header()
 {
     $th = $_REQUEST['th'];
     $kdbulan1 = $_REQUEST['kdbulan1'];
     $kdbulan2 = $_REQUEST['kdbulan2'];
     $kdsatker = $_REQUEST['kdsatker'];
     if (substr($kdbulan1, 0, 1) == '0') {
         $kdbl1 = substr($kdbulan1, 1, 1);
     } else {
         $kdbl1 = $kdbulan1;
     }
     if (substr($kdbulan2, 0, 1) == '0') {
         $kdbl2 = substr($kdbulan2, 1, 1);
     } else {
         $kdbl2 = $kdbulan2;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 4;
     $margin = 5;
     $tinggi = 275;
     $w = array(0, 180);
     $this->SetFont($font, 'B', $size + 3);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, 'BADAN TENAGA NUKLIR NASIONAL', '', 1, 'L');
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, strtoupper(trim(nm_satker($kdsatker))), '', 1, 'L');
     $this->SetFont($font, 'B', $size);
     $this->Ln() + 5;
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, 'SLIP PENERIMAAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     if ($kdbl1 != $kdbl2) {
         $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl1)) . ' S/D ' . strtoupper(nama_bulan($kdbl2)) . ' ' . $th, '', 1, 'C');
     } elseif ($kdbl1 == 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl1)) . ' TAHUN ' . $th, '', 1, 'C');
     } else {
         $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl1)) . ' ' . $th, '', 1, 'C');
     }
     $this->SetY(28);
     $this->SetFont($font, '', $size - 3);
     $this->Cell(0, 8, 'Hal. ' . $this->PageNo(), 0, 1, 'R');
     $w1 = array(10, 27, 50, 15, 18, 18, 18, 18, 28);
     $this->SetFont($font, 'B', $size - 1);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 2, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $y = $this->GetY();
     $this->Cell($w1[1], $ln, 'Nama Pegawai', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y + 4);
     $this->Cell($w1[1], $ln, 'NIP', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y);
     $this->Cell($w1[1], $ln * 2, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln * 2, 'Jabatan', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y);
     $this->Cell($w1[3], $ln, 'Kelas', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 4);
     $this->Cell($w1[3], $ln, 'Jabatan', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y);
     $this->Cell($w1[3], $ln * 2, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y);
     $this->Cell($w1[4], $ln, 'Pajak', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 4);
     $this->Cell($w1[4], $ln, 'Tunkin', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y);
     $this->Cell($w1[4], $ln * 2, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $this->Cell($w1[5], $ln * 2, 'Tunkin', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[6], $ln * 2, 'Potongan', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6]);
     $this->Cell($w1[7], $ln * 2, 'Diterima', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7]);
     $this->Cell($w1[8], $ln * 2, 'Rekening', $border, 1, 'C');
     $this->SetFont($font, 'B', $size - 2);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln, '(1)', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $this->Cell($w1[1], $ln, '(2)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln, '(3)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln, '(4)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln, '(5)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $this->Cell($w1[5], $ln, '(6)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[6], $ln, '(7)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6]);
     $this->Cell($w1[7], $ln, '(8=6-7)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7]);
     $this->Cell($w1[8], $ln, '(9)', $border, 1, 'C');
 }
Ejemplo n.º 7
0
			<td class="key">Bulan</td>
			<td>
				<select name="m"><?php 
for ($i = 1; $i <= 12; $i++) {
    ?>
		
						<option value="<?php 
    echo $i;
    ?>
" <?php 
    if ($i == date("m")) {
        echo "selected";
    }
    ?>
><?php 
    echo nama_bulan($i);
    ?>
</option><?php 
}
?>
				</select> 
				<select name="y"><?php 
for ($i = date("Y") - 5; $i <= date("Y") + 5; $i++) {
    ?>
					
						<option value="<?php 
    echo $i;
    ?>
" <?php 
    if ($i == date("Y")) {
        echo "selected";
Ejemplo n.º 8
0
	<table cellpadding="0" cellspacing="0" border="0" class="display" id="display_table">
		<thead>
			<tr>
				<th>Bulan</th>
				<th>Tahun</th>
				<th>Cek</th>
			</tr>
		</thead>
		<tbody>
			<?php 
if ($laporan_data) {
    $i = 0;
    foreach ($laporan_data as $row) {
        echo '<tr>';
        echo '<td>' . nama_bulan($row->bulan) . '</td>';
        echo '<td>' . $row->tahun . '</td>';
        echo '<td>' . form_hidden($i, $row->id) . form_radio('selected_data', $i) . '</td>';
        echo '</tr>';
        $i++;
    }
}
?>
		</tbody>
		<tfoot>
			<tr>
				<th>Bulan</th>
				<th>Tahun</th>
				<th>Cek</th>
			</tr>
		</tfoot>
Ejemplo n.º 9
0
        ?>
</option><?php 
    }
}
?>
	
	  </select>
		<input type="submit" value="Tampilkan" name="cari"/>
	</form>
</div><font color="#0066CC" size="2">
<?php 
if (substr($kdbulan, 0, 1) == '0') {
    $nama_bulan = nama_bulan(substr($kdbulan, 1, 1));
}
if (substr($kdbulan, 0, 1) != '0') {
    $nama_bulan = nama_bulan($kdbulan);
}
echo '<strong>' . nm_unitkerja($kdunit) . '</strong><br>';
//echo '<strong>'.'Bulan '.$nama_bulan.' '.$th.'</strong>' ;
?>
<br />
<font color="#FF0000">Jumlah Pegawai : <?php 
echo $jml_pegawai;
?>
</font>
<table width="58%" cellpadding="1" class="adminlist">
	<thead>
		
		<tr>
		  <th width="3%" rowspan="2">No.</th>
		  <th rowspan="2">Nama Pegawai / NIP </th>
Ejemplo n.º 10
0
					<td>
						<select name="m">
							<option></option><?php 
for ($month = 1; $month <= 12; $month++) {
    ?>
							
								<option value="<?php 
    echo $month;
    ?>
" <?php 
    if ($month == $m) {
        echo "selected";
    }
    ?>
><?php 
    echo nama_bulan($month);
    ?>
									
								</option><?php 
}
?>
						
						</select>
						
						<select name="y">
							<option></option><?php 
for ($year = date("Y") - 10; $year <= date("Y") + 10; $year++) {
    ?>
							
								<option value="<?php 
    echo $year;
Ejemplo n.º 11
0
 function delete()
 {
     $id = $this->input->post('id');
     $laporanpph21_data = $this->laporanpph21_model->get_data_by_id($id);
     if ($this->laporanpph21_model->delete_data($id)) {
         $msg = 'S#Laporan PPh 21 untuk bulan ' . nama_bulan($laporanpph21_data['bulan']) . ' tahun ' . $laporanpph21_data['tahun'] . ' telah dihapus.';
     } else {
         $msg .= 'E#Terjadi kesalahan dalam menghapus data Laporan PPh 21 untuk bulan ' . nama_bulan($laporanpph21_data['bulan']) . ' tahun ' . $laporanpph21_data['tahun'] . '. Harap coba lagi.';
     }
     echo $msg;
 }
Ejemplo n.º 12
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $kdbulan = $_REQUEST['kdbulan'];
     //$kdsatker = $_REQUEST['kdsatker'];
     if (substr($kdbulan, 0, 1) == '0') {
         $kdbl = substr($kdbulan, 1, 1);
     }
     if (substr($kdbulan, 0, 1) != '0') {
         $kdbl = $kdbulan;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 9;
     $ln = 4;
     $margin = 5;
     $tinggi = 275;
     $w = array(0, 330);
     $this->Ln();
     $this->SetFont($font, 'B', $size + 2);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'RINCIAN PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     if ($kdunit != '') {
         $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit))), '', 1, 'C');
     }
     //if ( $kdsatker <> '' )  $this->Cell($w[1],$ln,'SATKER : '.trim(strtoupper(nm_satker($kdsatker))),'',1,'C');
     $this->SetX($margin + $w[0]);
     if ($kdbl != 13) {
         $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($kdbl) . ' ' . $th, '', 1, 'C');
     } else {
         $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($kdbl) . ' Tahun ' . $th, '', 1, 'C');
     }
     //			$this->Ln();
     $this->SetY(20);
     $this->SetFont($font, '', $size - 3);
     $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R');
     //			if ($this->PageNo() != 1) $this->Line($margin, $this->GetY(), $margin+180,$this->GetY());
     //			$this->Ln();
     $w1 = array(11, 45, 15, 50, 15, 25, 20, 12, 33);
     $this->SetFont($font, 'B', $size);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C');
     $y = $this->GetY();
     $this->SetXY($margin + $w1[0], $y + 2);
     $this->Cell($w1[1], $ln, 'NAMA PEGAWAI', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y + 6);
     $this->Cell($w1[1], $ln, 'NIP', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y);
     $this->Cell($w1[1], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 2);
     $this->Cell($w1[2], $ln, 'GOL', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 6);
     $this->Cell($w1[2], $ln, 'STATUS', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y);
     $this->Cell($w1[2], $ln * 3, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln * 3, 'NAMA JABATAN / TMT', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln * 3, 'GRADE', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 2);
     $this->Cell($w1[5], $ln, 'TUNJANGAN', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 6);
     $this->Cell($w1[5], $ln, 'KINERJA', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 2);
     $this->Cell($w1[5], $ln, 'TUNJANGAN', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 6);
     $this->Cell($w1[5], $ln, 'PAJAK', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 2);
     $this->Cell($w1[5], $ln, 'JUMLAH', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 6);
     $this->Cell($w1[5], $ln, 'BRUTO', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3);
     $this->Cell($w1[6] * 3 + $w1[7], $ln, 'POTONGAN', $border, 1, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3);
     $this->Cell($w1[6], $ln * 2, 'PAJAK', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6]);
     $y2 = $this->GetY();
     $this->Cell($w1[6] + $w1[7], $ln, 'KEHADIRAN', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 2 + $w1[7]);
     $this->Cell($w1[6], $ln, 'JUMLAH', $noborder, 1, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6]);
     $this->Cell($w1[7], $ln, '(%)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] + $w1[7]);
     $this->Cell($w1[6], $ln, '(RP.)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 2 + $w1[7]);
     $this->Cell($w1[6], $ln, 'POTONGAN', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 2 + $w1[7], $y2);
     $this->Cell($w1[6], $ln * 2, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 3 + $w1[7], $y + 2);
     $this->Cell($w1[5], $ln, 'JUMLAH', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 3 + $w1[7], $y + 6);
     $this->Cell($w1[5], $ln, 'DIBAYARKAN', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 3 + $w1[7], $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 1, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4 + $w1[6] * 3 + $w1[7], $y + 2);
     $this->Cell($w1[8], $ln, 'NOMOR', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4 + $w1[6] * 3 + $w1[7], $y + 6);
     $this->Cell($w1[8], $ln, 'REKENING', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4 + $w1[6] * 3 + $w1[7], $y);
     $this->Cell($w1[8], $ln * 3, '', $border, 1, 'C');
     //			$this->Cell($w1[5],$ln*2,'Yang Diterima',$border,1,'C');
     $this->SetFont($font, 'B', $size - 2);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln, '(1)', $border, 0, 'C');
     $this->Cell($w1[1], $ln, '(2)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln, '(3)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln, '(4)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln, '(5)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $this->Cell($w1[5], $ln, '(6)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[5], $ln, '(7)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2);
     $this->Cell($w1[5], $ln, '(8=6+7)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3);
     $this->Cell($w1[6], $ln, '(9)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6]);
     $this->Cell($w1[7], $ln, '(10)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] + $w1[7]);
     $this->Cell($w1[6], $ln, '(11)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 2 + $w1[7]);
     $this->Cell($w1[6], $ln, '(12=9+11)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3 + $w1[6] * 3 + $w1[7]);
     $this->Cell($w1[5], $ln, '(13=8-12)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4 + $w1[6] * 3 + $w1[7]);
     $this->Cell($w1[8], $ln, '(14)', $border, 1, 'C');
 }
Ejemplo n.º 13
0
Unit Kerja<?php 
} else {
    ?>
Jabatan<?php 
}
?>
</th>
			<th width="6%" rowspan="2">Nama Pegawai</th>
			<th width="3%" rowspan="2">
	      Gol</th>
			<th width="4%" rowspan="2">NIP</th>
			<th width="3%" rowspan="2">NIB</th>
		    <th width="3%" rowspan="2">Grade</th>
		    <th colspan="2" rowspan="2">Tanpa<br />Ket.</th>
		    <th colspan="12">Jumlah Cuti bulan <?php 
echo nama_bulan(ubah_databulan($kdbulan)) . ' ' . $th;
?>
</th>
            <th width="7%" rowspan="2">Jumlah<br />
          Potongan<br />(%)</th>
	    </tr>
		<tr>
		  <th colspan="2">CT</th>
	      <th colspan="2">CB</th>
	      <th colspan="2">CSRI</th>
	      <th colspan="2">CSRJ</th>
	      <th colspan="2">CM</th>
	      <th colspan="2">CP</th>
      </tr>
		<tr>
		  <th>1</th>
Ejemplo n.º 14
0
?>
	
	  </select>
		<input type="submit" value="Tampilkan" name="cari"/>
	</form>
<br />
<table width="787" cellpadding="1" class="adminlist">
  <thead>
    <tr>
      <th rowspan="2">Unit Eselon II</th> 
      <th rowspan="2">Kode APBN</th>
      <th rowspan="2"><font color="#006600">Lembaga</font><br />Nama Satuan Kerja / <br>
        <font color="#0000FF">Nama Kegiatan</font> / <br /><font color="#993333">Output</font></th>
      <th colspan="2">Pagu</th>
      <th colspan="4">Realisasi Bulan <?php 
echo nama_bulan($kdbulan) . ' ' . $th;
?>
</th>
      <th width="10%" rowspan="2">Sisa<br />Anggaran</th>
    </tr>
    <tr>
      <th>Pagu</th>
      <th>Rencana s.d<br />Bulan Ini</th>
      <th>Bulan Ini </th>
      <th>s.d Bulan Ini </th>
      <th>% thd Rencana Penarikan </th>
      <th>% thd Pagu </th>
    </tr>
  </thead>
  <tbody>
  <?php 
Ejemplo n.º 15
0
    $oList_bulan = mysql_query("SELECT bulan,kdgol,kdpeg,kdunitkerja,kdjabatan, tmtjabatan, grade, jml_hari, tunker, pajak_tunker, nil_terima FROM {$table} WHERE tahun = '{$th}' and kdsatker = '{$kdsatker}' and bulan >= '{$kdbulan1}' and bulan <= '{$kdbulan2}' and nib = '{$nib}' ORDER BY bulan, tmtjabatan");
    while ($List_bulan = mysql_fetch_array($oList_bulan)) {
        if (substr($List_bulan['bulan'], 0, 1) == '0') {
            $kdbl = substr($List_bulan['bulan'], 1, 1);
        } else {
            $kdbl = $List_bulan['bulan'];
        }
        ?>
				
					<tr class="<?php 
        echo $class;
        ?>
">
					  <td align="center" valign="top">&nbsp;</td>
					  <td align="right" valign="top"><?php 
        echo strtoupper(nama_bulan($kdbl));
        ?>
</td>
					  <td align="center" valign="top"><?php 
        echo nm_pangkat(substr($List_bulan['kdgol'], 0, 1) . hurufkeangka(substr($List_bulan['kdgol'], 1, 1))) . ' (' . nm_gol(substr($List_bulan['kdgol'], 0, 1) . hurufkeangka(substr($List_bulan['kdgol'], 1, 1))) . ')';
        ?>
<br /><?php 
        echo '(' . status_peg($List_bulan['kdpeg']) . ')';
        ?>
</td>
					  <td align="left" valign="top"><?php 
        echo nm_info_jabatan($List_bulan['kdunitkerja'], $List_bulan['kdjabatan']) . ' (' . reformat_tgl($List_bulan['tmtjabatan']) . ')';
        ?>
<br /><?php 
        echo 'Kelas Jabatan ' . $List_bulan['grade'];
        if ($List_bulan['jml_hari'] != 0) {
Ejemplo n.º 16
0
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        ?>
				<tr class="<?php 
        echo $class;
        ?>
">
					<td align="center" valign="top"><?php 
        echo $limit * ($pagess - 1) + ($k + 1);
        ?>
</td>
					<td align="left" valign="top"><?php 
        echo nama_bulan($col[2][$k]) . ' ' . $col[1][$k];
        ?>
</td>
					<td align="center" valign="top"><?php 
        echo $col[3][$k];
        ?>
</td>
		          <td width="5%" align="center" valign="top">
				      <?php 
        if ($xlevel == '1') {
            ?>
					  <a href="<?php 
            echo $ed[$k];
            ?>
&pagess=<?php 
            echo $pagess;
Ejemplo n.º 17
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $kdbulan = $_REQUEST['kdbulan'];
     $kdsatker = $_REQUEST['kdsatker'];
     if (substr($kdbulan, 0, 1) == '0') {
         $kdbl = substr($kdbulan, 1, 1);
     }
     if (substr($kdbulan, 0, 1) != '0') {
         $kdbl = $kdbulan;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 4;
     $margin = 15;
     $tinggi = 275;
     $w = array(0, 280);
     $this->SetFont($font, 'B', $size + 3);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, 'BADAN TENAGA NUKLIR NASIONAL', '', 1, 'L');
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, strtoupper(trim(nm_satker($kdsatker))), '', 1, 'L');
     $this->SetFont($font, 'B', $size + 2);
     $this->Ln() + 5;
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln + 1, 'DAFTAR NOMINATIF PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     if ($kdbl != 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl)) . ' ' . $th, '', 1, 'C');
     }
     if ($kdbl == 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . nama_bulan($kdbl) . ' TAHUN ' . $th, '', 1, 'C');
     }
     $this->SetY(28);
     $this->SetFont($font, '', $size - 3);
     $this->Cell(0, 8, 'Hal. ' . $this->PageNo(), 0, 1, 'R');
     $w1 = array(10, 50, 12, 40, 10, 30);
     $this->SetFont($font, 'B', $size);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $y = $this->GetY();
     $this->Cell($w1[1], $ln, 'Nama Pegawai', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y + 4);
     $this->Cell($w1[1], $ln, 'NIP', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0], $y);
     $this->Cell($w1[1], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 2);
     $this->Cell($w1[2], $ln, 'Gol /', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 6);
     $this->Cell($w1[2], $ln, 'Status', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y);
     $this->Cell($w1[2], $ln * 3, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln * 3, 'Nama Jabatan / TMT', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 2);
     $this->Cell($w1[4], $ln, 'Kls.', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 6);
     $this->Cell($w1[4], $ln, 'Jab.', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y);
     $this->Cell($w1[4], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 4);
     $this->Cell($w1[5], $ln, 'Tunj. Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 4);
     $this->Cell($w1[5], $ln, 'Fakt. Pengurang', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y);
     $this->Cell($w1[5], $ln, 'Tunj. Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 4);
     $this->Cell($w1[5], $ln, 'Dikurangi', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y + 8);
     $this->Cell($w1[5], $ln, 'Fakt.Pengurang', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2, $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3);
     $this->Cell($w1[5], $ln * 3, 'Tunj. Pajak', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4, $y);
     $this->Cell($w1[5], $ln, 'Tunj. Kinerja', $noborder, 1, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4, $y + 4);
     $this->Cell($w1[5], $ln, 'Ditambah', $noborder, 1, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4, $y + 8);
     $this->Cell($w1[5], $ln, 'Tunjangan Pajak', $noborder, 1, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4, $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 1, 'C');
     $this->SetFont($font, 'B', $size - 2);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln, '(1)', $border, 0, 'C');
     $this->Cell($w1[1], $ln, '(2)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln, '(3)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln, '(4)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln, '(5)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $this->Cell($w1[5], $ln, '(6)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[5], $ln, '(7)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2);
     $this->Cell($w1[5], $ln, '(8=6-7)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 3);
     $this->Cell($w1[5], $ln, '(9)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 4);
     $this->Cell($w1[5], $ln, '(10=8+9)', $border, 1, 'C');
 }
Ejemplo n.º 18
0
// start export
header("Content-type: application/octet-stream");
$filename = "rekap_nominatif_total_" . $kdsatker . "_" . $kdbulan1 . '_' . $kdbulan2 . ".xls";
header("Content-Disposition: attachment; filename=\"{$filename}\"");
header("Pragma: no-cache");
header("Expires: 0");
print "<b>";
print "<b>";
print "REKAPITULASI DAFTAR TUNJANGAN KINERJA PEGAWAI<br>";
print "BADAN TENAGA NUKLIR NASIONAL<br>";
$b1 = (int) $kdbulan1;
$b2 = (int) $kdbulan2;
if ($b2 == 13) {
    print "BULAN " . strtoupper(nama_bulan($b1)) . " S/D DESEMBER DAN BULAN " . strtoupper(nama_bulan($b2)) . " TAHUN " . $th . "<br><br>";
} else {
    print "BULAN " . strtoupper(nama_bulan($b1)) . " S/D " . strtoupper(nama_bulan($b2)) . " {$th}<br><br>";
}
print "SATUAN KERJA : " . strtoupper(nm_satker($kdsatker)) . "<br><br>";
?>
<table width="89%" cellpadding="1" border="1">
	<thead>
		<tr>
			<th width="9%">No.</th>
			<th width="22%">Kelas Jabatan </th>
            <th width="14%">Jumlah<br />Penerima</th>
            <th width="17%">Tunjangan Kinerja<br />Per Kelas Jabatan</th>
            <th width="20%">1. Tunjangan Kinerja<br />2. Pajak<br />3. Jumlah</th>
          <th width="18%">1. Faktor Pengurang<br />
          2. Potongan Pajak<br />3. Jumlah Netto</th>
		</tr>
	</thead>
Ejemplo n.º 19
0
<?php

$npwp = $wajib_pajak_data['npwp'];
$nama = $wajib_pajak_data['nama'];
$nama_pemilik = $wajib_pajak_data['pemilik'];
$alamat = $wajib_pajak_data['alamat'];
$kota = $wajib_pajak_data['kota'];
$sekarang = date("j") . ' ' . nama_bulan(date("m")) . ' ' . date("Y");
$this->fpdf->FPDF("P", "cm", "A4");
$this->fpdf->SetMargins(2, 1, 2);
$this->fpdf->SetAutoPageBreak(true, 1);
$this->fpdf->Open();
$this->fpdf->AliasNbPages();
$this->fpdf->AddPage();
$this->fpdf->Ln(1);
$this->fpdf->Image('images/laporan/logo.jpg', 2, 1, 2.5, 2.5);
$this->fpdf->SetFont('Times', 'B', 14);
$this->fpdf->Cell(17, 0.7, $nama, 0, 0, 'C');
$this->fpdf->Ln();
$this->fpdf->Cell(17, 0.7, $alamat, 0, 0, 'C');
$this->fpdf->Ln();
$this->fpdf->Cell(17, 0.7, "NPWP : {$npwp}", 0, 0, 'C');
$this->fpdf->Ln();
$this->fpdf->Cell(17, 0.08, "", 'TLBR', 0, 'C', 1);
$this->fpdf->Ln(0.7);
$this->fpdf->SetFont('Times', 'B', 14);
$this->fpdf->Cell(17, 0.5, "LAPORAN LABA RUGI", 0, 0, 'C');
$this->fpdf->Ln();
$this->fpdf->SetFont('Times', '', 12);
$periode = 'Periode ';
if ($bulan) {
Ejemplo n.º 20
0
        if ($k % 2 == 1) {
            $class = "row0";
        } else {
            $class = "row1";
        }
        ?>
				<tr class="<?php 
        echo $class;
        ?>
">
					<td align="center" valign="top"><?php 
        echo $limit * ($pagess - 1) + ($k + 1);
        ?>
</td>
					<td align="left" valign="top"><?php 
        echo strtoupper(nama_bulan($col[0][$k]));
        ?>
</td>
			        <td align="center" valign="top"><?php 
        echo $col[1][$k];
        ?>
</td>
			        <td align="right" valign="top"><?php 
        echo $col[4][$k];
        ?>
</td>
			        <td align="right" valign="top"><?php 
        echo $col[5][$k];
        ?>
</td>
				    <td align="right" valign="top"><?php 
Ejemplo n.º 21
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $kdsatker = $_REQUEST['kdsatker'];
     $kdbulan = $_REQUEST['kdbulan'];
     if (substr($kdbulan, 0, 1) == '0') {
         $kdbl = substr($kdbulan, 1, 1);
     }
     if (substr($kdbulan, 0, 1) != '0') {
         $kdbl = $kdbulan;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 4;
     $margin = 5;
     $tinggi = 275;
     $w = array(0, 280);
     $this->Ln();
     $this->SetFont($font, 'B', $size + 2);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'REKAPITULASI KEHADIRAN PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     if ($kdunit != '') {
         $this->Cell($w[1], $ln, trim(strtoupper(nm_unitkerja($kdunit . '00'))), '', 1, 'C');
     }
     if ($kdsatker != '') {
         $this->Cell($w[1], $ln, 'SATKER : ' . trim(strtoupper(nm_satker($kdsatker))), '', 1, 'C');
     }
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'Bulan : ' . nama_bulan($kdbl) . ' ' . $th, '', 1, 'C');
     //			$this->Ln();
     $this->SetY(20);
     $this->SetFont($font, '', $size - 3);
     $this->Cell(0, 10, 'Hal. ' . $this->PageNo(), 0, 1, 'R');
     //			if ($this->PageNo() != 1) $this->Line($margin, $this->GetY(), $margin+180,$this->GetY());
     //			$this->Ln();
     $w1 = array(10, 45, 45, 15, 15, 20, 10, 15);
     $this->SetFont($font, 'B', $size);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $ya = $this->GetY();
     $y = $this->GetY();
     $this->Cell($w1[1], $ln * 3, 'Jabatan', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln * 3, 'Nama / NIP', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln * 3, 'Grade', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln * 3, 'Gol', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $y = $this->GetY();
     $this->Cell($w1[5], $ln, 'Tanpa', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 4);
     $this->Cell($w1[5], $ln, 'Ket.(TK)', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y);
     $this->Cell($w1[5], $ln * 2, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y + 8);
     $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[6], $y + 8);
     $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y);
     //			$y = $this->GetY();
     $this->Cell($w1[6] * 12, $ln, 'CUTI', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'CT', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 2, $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'CB', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 4, $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'CSRI', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 6, $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'CSRJ', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 8, $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'CM', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 10, $y + 4);
     $this->Cell($w1[6] * 2, $ln, 'CP', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 8);
     $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6], $y + 8);
     $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 2, $y + 8);
     $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 3, $y + 8);
     $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 4, $y + 8);
     $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 5, $y + 8);
     $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 6, $y + 8);
     $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 7, $y + 8);
     $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 8, $y + 8);
     $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 9, $y + 8);
     $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 10, $y + 8);
     $this->Cell($w1[6], $ln, 'Hari', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 11, $y + 8);
     $this->Cell($w1[6], $ln, '(%)', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 12, $ya + 2);
     $this->Cell($w1[7], $ln, 'Jumlah', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 12, $ya + 6);
     $this->Cell($w1[7], $ln, 'Pot.', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] * 12, $ya);
     $this->Cell($w1[7], $ln * 3, '', $border, 1, 'C');
 }
Ejemplo n.º 22
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $kdbulan = $_REQUEST['kdbulan'];
     $kdsatker = $_REQUEST['kdsatker'];
     $th = $_REQUEST['th'];
     if (substr($kdbulan, 0, 1) == '0') {
         $kdbl = substr($kdbulan, 1, 1);
     }
     if (substr($kdbulan, 0, 1) != '0') {
         $kdbl = $kdbulan;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 5;
     $margin = 10;
     $tinggi = 275;
     $w = array(0, 250);
     $this->SetFont($font, 'B', $size + 3);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'BADAN TENAGA NUKLIR NASIONAL', '', 1, 'L');
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, strtoupper(trim(nm_satker($kdsatker))), '', 1, 'L');
     $this->Ln();
     $this->SetFont($font, 'B', $size + 2);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'REKAPITULASI DAFTAR PENERIMAAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     if ($kdbl != 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl)) . ' ' . $th, '', 1, 'C');
     }
     if ($kdbl == 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . nama_bulan($kdbl) . ' TAHUN ' . $th, '', 1, 'C');
     }
     $this->Ln() + 5;
     $ln = 4;
     $w1 = array(10, 30, 20, 32, 22, 32);
     $this->SetFont($font, 'B', $size - 1);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $this->Cell($w1[1], $ln * 3, 'Kelas Jabatan', $border, 0, 'C');
     $y = $this->GetY();
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 2);
     $this->Cell($w1[2], $ln, 'Jumlah', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 6);
     $this->Cell($w1[2], $ln, 'Penerima', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y);
     $this->Cell($w1[2], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 2);
     $this->Cell($w1[3], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 6);
     $this->Cell($w1[3], $ln, 'Per Kelas Jabatan', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y);
     $this->Cell($w1[3], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 2);
     $this->Cell($w1[5], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y + 6);
     $this->Cell($w1[5], $ln, 'Sebelum Pajak', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y + 2);
     $this->Cell($w1[4], $ln, 'Tunjangan', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y + 6);
     $this->Cell($w1[4], $ln, 'Pajak', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y);
     $this->Cell($w1[4], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y);
     $this->Cell($w1[5], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 4);
     $this->Cell($w1[5], $ln, 'Setelah Ditambah', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 8);
     $this->Cell($w1[5], $ln, 'Tunjangan Pajak', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2);
     $this->Cell($w1[4] * 3, $ln, 'POTONGAN', $border, 1, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2);
     $this->Cell($w1[4], $ln * 2, 'Pajak', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 2 + $w1[5] * 2);
     $this->Cell($w1[4], $ln * 2, 'Pengurang', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 3 + $w1[5] * 2, $y + 4);
     $this->Cell($w1[4], $ln, 'Jumlah', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 3 + $w1[5] * 2, $y + 8);
     $this->Cell($w1[4], $ln, 'Potongan', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 3 + $w1[5] * 2, $y + 4);
     $this->Cell($w1[4], $ln * 2, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 4 + $w1[5] * 2, $y + 2);
     $this->Cell($w1[5], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 4 + $w1[5] * 2, $y + 6);
     $this->Cell($w1[5], $ln, 'Yang Diterima', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 4 + $w1[5] * 2, $y);
     $this->Cell($w1[5], $ln * 3, '', $border, 1, 'C');
     $this->SetFont($font, 'B', $size - 2);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln, '(1)', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $this->Cell($w1[1], $ln, '(2)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln, '(3)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln, '(4)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[5], $ln, '(5)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5]);
     $this->Cell($w1[4], $ln, '(6)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[5], $ln, '(7=5+6)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] * 2);
     $this->Cell($w1[4], $ln, '(8)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 2 + $w1[5] * 2);
     $this->Cell($w1[4], $ln, '(9)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 3 + $w1[5] * 2);
     $this->Cell($w1[4], $ln, '(10=8+9)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] * 4 + $w1[5] * 2);
     $this->Cell($w1[5], $ln, '(11=7-10)', $border, 1, 'C');
 }
Ejemplo n.º 23
0
    $col[5][] = $List['kdgol'];
}
// start export
if (substr(date('m'), 0, 1) == '0') {
    $bulan = substr(date('m'), 1, 1);
} else {
    $bulan = date('m');
}
header("Content-type: application/octet-stream");
$filename = "verifikasi_penempatan_" . $kdunit . ".xls";
header("Content-Disposition: attachment; filename=\"{$filename}\"");
header("Pragma: no-cache");
header("Expires: 0");
print "<b>";
print "<b>";
print "VERIFIKASI PENEMPATAN PEGAWAI PER " . strtoupper(nama_bulan($bulan)) . ' ' . $th . "<br>";
print "UNIT KERJA : " . strtoupper(nm_unitkerja($xkdunit . '00')) . "<br><br>";
?>
<table width="58%" cellpadding="1" border="1">
	<thead>
		<tr>
			<th width="9%">No.</th>
			<th width="25%">Nama Pegawai<br />
		  NIP</th>
			<th width="15%">Golongan<br />
		  Ruang/TMT</th>
			<th width="27%">Jabatan</th>
		    <th width="12%">Kelas Jabatan</th>
            <th width="12%">Unit Kerja</th>
		</tr>
	</thead>
Ejemplo n.º 24
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $kdbulan1 = $_REQUEST['kdbulan1'];
     $kdbulan2 = $_REQUEST['kdbulan2'];
     if (substr($kdbulan1, 0, 1) == '0') {
         $kdbl1 = substr($kdbulan1, 1, 1);
     }
     if (substr($kdbulan1, 0, 1) != '0') {
         $kdbl1 = $kdbulan1;
     }
     if (substr($kdbulan2, 0, 1) == '0') {
         $kdbl2 = substr($kdbulan2, 1, 1);
     }
     if (substr($kdbulan2, 0, 1) != '0') {
         $kdbl2 = $kdbulan2;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 5;
     $margin = 30;
     $tinggi = 275;
     $w = array(0, 220);
     $this->SetFont($font, 'B', $size + 2);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'KEMENTERIAN PENDIDIKAN DAN KEBUDAYAAN', '', 1, 'L');
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, strtoupper(trim(nm_unitkerja($kdunit))), '', 1, 'L');
     // bagian lampiran
     $pos_x = $this->GetX();
     $pos_y = $this->GetY();
     $this->SetXY(247, 4);
     $this->SetFont($font, 'B', $size - 2);
     $this->Cell(75, $ln - 2, 'LAMPIRAN II', '', 1, 'L');
     $this->SetX(158);
     $this->Cell(150, $ln - 2, 'PERATURAN DIREKTUR JENDERAL PERBENDAHARAAN NO. PER-53/PB/2013', '', 1, 'L');
     $this->SetX(158);
     $this->Cell(150, $ln - 2, 'TENTANG PETUNJUK PELAKSANAAN PEMBAYARAN TUNJANGAN KINERJA', '', 1, 'L');
     $this->SetX(158);
     $this->Cell(150, $ln - 2, 'PADA 27 (DUA PULUH TUJUH) KEMENTERIAN NEGARA/LEMBAGA', '', 1, 'L');
     $this->SetXY($pos_x, $pos_y);
     //
     $this->Ln();
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'REKAPITULASI DAFTAR PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl1)) . ' s/d ' . strtoupper(nama_bulan($kdbl2)) . ' ' . $th, '', 1, 'C');
     $ln = 4;
     $w1 = array(10, 50, 35, 40, 50, 5);
     $this->SetFont($font, 'B', $size - 1);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $this->Cell($w1[1], $ln * 3, 'Uraian Kelas Jabatan', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln * 3, 'Jumlah Penerima', $border, 0, 'C');
     $y = $this->GetY();
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 2);
     $this->Cell($w1[3], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 6);
     $this->Cell($w1[3], $ln, 'Per Kelas Jabatan', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y);
     $this->Cell($w1[3], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y);
     $this->Cell($w1[4], $ln, '1. Jumlah Tunjangan', $noborder, 0, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y + 4);
     $this->Cell($w1[4], $ln, '2. Pajak', $noborder, 0, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y + 8);
     $this->Cell($w1[4], $ln, '3. Jumlah', $noborder, 0, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y);
     $this->Cell($w1[4], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 2);
     $this->Cell($w1[4], $ln, '1. Potongan Pajak', $noborder, 1, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 6);
     $this->Cell($w1[4], $ln, '2. Jumlah Netto', $noborder, 1, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y);
     $this->Cell($w1[4], $ln * 3, '', $border, 1, 'C');
     $this->SetFont($font, 'B', $size - 2);
 }
Ejemplo n.º 25
0
function reformat_tanggal($tgl)
{
    $d = substr($tgl, 8, 2);
    $m = substr($tgl, 5, 2);
    $y = substr($tgl, 0, 4);
    if (substr($m, 0, 1) == '0') {
        $m = substr($m, 1, 1);
    }
    $result = $d . ' ' . nama_bulan($m) . ' ' . $y;
    return $result;
}
Ejemplo n.º 26
0
 function Header()
 {
     $kdbulan1 = $_REQUEST['kdbulan1'];
     $kdbulan2 = $_REQUEST['kdbulan2'];
     $kdsatker = $_REQUEST['kdsatker'];
     if (substr($kdbulan1, 0, 1) == '0') {
         $kdbl1 = substr($kdbulan1, 1, 1);
     } else {
         $kdbl1 = $kdbulan1;
     }
     if (substr($kdbulan2, 0, 1) == '0') {
         $kdbl2 = substr($kdbulan2, 1, 1);
     } else {
         $kdbl2 = $kdbulan2;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 5;
     $margin = 10;
     $tinggi = 275;
     $w = array(0, 280);
     $this->SetFont($font, 'B', $size + 3);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'BADAN TENAGA NUKLIR NASIONAL', '', 1, 'L');
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, strtoupper(trim(nm_satker($kdsatker))), '', 1, 'L');
     $this->Ln();
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'REKAPITULASI PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl1)) . ' S/D ' . strtoupper(nama_bulan($kdbl2)) . ' ' . $th, '', 1, 'C');
     $this->SetX($margin);
     $this->Cell($w1[0], $ln, '', $noborder, 1, 'C');
     $ln = 4;
     $w1 = array(10, 30, 25, 35, 30, 35, 25, 25, 25, 35);
     $this->SetFont($font, 'B', $size);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 3, 'No..', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $this->Cell($w1[1], $ln * 3, 'Bulan', $border, 0, 'C');
     $y = $this->GetY();
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 2);
     $this->Cell($w1[2], $ln, 'Jumlah', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y + 6);
     $this->Cell($w1[2], $ln, 'Penerima', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1], $y);
     $this->Cell($w1[2], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 2);
     $this->Cell($w1[3], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 6);
     $this->Cell($w1[3], $ln, 'Sebelum Pajak', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y);
     $this->Cell($w1[3], $ln * 3, '', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln * 3, 'Tunjangan Pajak', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $this->Cell($w1[5], $ln * 3, 'Jumlah Bruto', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[6] + $w1[6] + $w1[6], $ln, 'POTONGAN', $border, 1, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[6], $ln * 2, 'Pajak', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6], $y + 4);
     $this->Cell($w1[7], $ln, 'Faktor', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6], $y + 8);
     $this->Cell($w1[7], $ln, 'Pengurang', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6], $y + 4);
     $this->Cell($w1[7], $ln * 2, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7], $y + 4);
     $this->Cell($w1[8], $ln, 'Jumlah', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7], $y + 8);
     $this->Cell($w1[8], $ln, 'Potongan', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7], $y + 4);
     $this->Cell($w1[8], $ln * 2, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7] + $w1[8], $y + 2);
     $this->Cell($w1[9], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7] + $w1[8], $y + 6);
     $this->Cell($w1[9], $ln, 'Yang Diterima', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7] + $w1[8], $y);
     $this->Cell($w1[9], $ln * 3, '', $border, 1, 'C');
     $this->SetFont($font, 'B', $size - 2);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln, '(1)', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $this->Cell($w1[1], $ln, '(2)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln, '(3)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2]);
     $this->Cell($w1[3], $ln, '(4)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3]);
     $this->Cell($w1[4], $ln, '(5)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4]);
     $this->Cell($w1[5], $ln, '(6=4+5)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5]);
     $this->Cell($w1[6], $ln, '(7)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6]);
     $this->Cell($w1[7], $ln, '(8)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7]);
     $this->Cell($w1[8], $ln, '(9=7+8)', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5] + $w1[6] + $w1[7] + $w1[8]);
     $this->Cell($w1[9], $ln, '(10=6-9)', $border, 1, 'C');
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 2, '', $noborder, 0, 'C');
 }
Ejemplo n.º 27
0
	  </select>
		<input type="submit" value="Tampilkan" name="cari"/>
	</form>
</div><font color="#0066CC" size="2">
<?php 
if (substr($kdbulan1, 0, 1) == '0') {
    $nama_bulan1 = nama_bulan(substr($kdbulan1, 1, 1));
}
if (substr($kdbulan1, 0, 1) != '0') {
    $nama_bulan1 = nama_bulan($kdbulan1);
}
if (substr($kdbulan2, 0, 1) == '0') {
    $nama_bulan2 = nama_bulan(substr($kdbulan2, 1, 1));
}
if (substr($kdbulan2, 0, 1) != '0') {
    $nama_bulan2 = nama_bulan($kdbulan2);
}
echo '<strong>' . nm_unitkerja($kdunit) . '</strong><br>';
echo '<strong>' . 'Bulan ' . $nama_bulan1 . ' s/d ' . $nama_bulan2 . ' ' . $th . '</strong>';
?>
<br />
</font>
<a href="source/tunjangan/rapel_nominatif_prn.php?kdunit=<?php 
echo $kdunit;
?>
&kdbulan1=<?php 
echo $kdbulan1;
?>
&kdbulan2=<?php 
echo $kdbulan2;
?>
Ejemplo n.º 28
0
function tanggal($tanggal)
{
    return date('d', strtotime($tanggal)) . '  ' . nama_bulan(date('m', strtotime($tanggal))) . ' ' . date('Y', strtotime($tanggal));
}
Ejemplo n.º 29
0
    $total_pj += $List['jml_pajak'];
    $total += jmlpeg_bulan_grade($th, $kdbulan2, $kdunit, $List['grade']);
}
// start export
header("Content-type: application/octet-stream");
$filename = "rekap_nominatif_" . $kdunit . "_" . $kdbulan . ".xls";
header("Content-Disposition: attachment; filename=\"{$filename}\"");
header("Pragma: no-cache");
header("Expires: 0");
print "<b>";
print "<b>";
print "REKAPITULASI TUNJANGAN KINERJA<br>";
print "BADAN TENAGA NUKLIR NASIONAL<br>";
$b1 = (int) $kdbulan1;
$b2 = (int) $kdbulan2;
print "BULAN " . strtoupper(nama_bulan($b1)) . " s/ d " . strtoupper(nama_bulan($b2)) . " TAHUN " . " {$th}<br><br>";
print "SATUAN KERJA : " . strtoupper(nm_unitkerja($kdunit)) . "<br><br>";
?>
<table width="81%" cellpadding="1" border="1">
	<thead>
		<tr>
			<th width="9%">No.</th>
			<th width="22%">Kelas Jabatan </th>
            <th width="14%">Jumlah<br />Penerima</th>
            <th width="17%">Tunjangan Kinerja<br />Per Kelas Jabatan</th>
            <th width="20%">1. Tunjangan Kinerja<br />2. Pajak<br />3. Jumlah</th>
          <th width="18%">1. Potongan Pajak<br />2. Jumlah Netto</th>
		</tr>
	</thead>
	<tbody><?php 
if ($count == 0) {
Ejemplo n.º 30
0
 function Header()
 {
     $kdunit = $_REQUEST['kdunit'];
     $kdbulan = $_REQUEST['kdbulan'];
     $kdsatker = $_REQUEST['kdsatker'];
     if (substr($kdbulan, 0, 1) == '0') {
         $kdbl = substr($kdbulan, 1, 1);
     }
     if (substr($kdbulan, 0, 1) != '0') {
         $kdbl = $kdbulan;
     }
     $th = $_REQUEST['th'];
     $font = 'Arial';
     $noborder = 0;
     $border = 1;
     $size = 10;
     $ln = 5;
     $margin = 30;
     $tinggi = 275;
     $w = array(0, 220);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln * 5, '', '', 1, 'L');
     $this->SetFont($font, 'B', $size + 2);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'BADAN TENAGA NUKLIR NASIONAL', '', 1, 'L');
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, strtoupper(trim(nm_satker($kdsatker))), '', 1, 'L');
     // bagian lampiran
     $pos_x = $this->GetX();
     $pos_y = $this->GetY();
     $this->SetXY(247, 4);
     $this->SetFont($font, 'B', $size - 2);
     $this->SetX($margin + $w[0]);
     $this->SetX(158);
     $this->Cell($w[1], $ln * 2, '', '', 1, 'L');
     $this->SetX(158);
     $this->Cell(75, $ln - 2, 'LAMPIRAN III', '', 1, 'L');
     $this->SetX(158);
     $this->Cell(150, $ln - 2, 'PERATURAN DIREKTUR JENDERAL PERBENDAHARAAN NO. PER.52/PB/2012', '', 1, 'L');
     $this->SetX(158);
     $this->Cell(150, $ln - 2, 'TENTANG PETUNJUK PELAKSANAAN PEMBAYARAN TUNJANGAN KINERJA', '', 1, 'L');
     $this->SetX(158);
     $this->Cell(150, $ln - 2, 'PADA 20 (DUA PULUH) KEMENTRIAN NEGARA/LEMBAGA', '', 1, 'L');
     $this->SetXY($pos_x, $pos_y);
     //
     $this->Ln();
     $this->SetFont($font, 'B', $size + 1);
     $this->SetX($margin + $w[0]);
     $this->Cell($w[1], $ln, 'REKAPITULASI DAFTAR PEMBAYARAN TUNJANGAN KINERJA PEGAWAI', '', 1, 'C');
     $this->SetX($margin + $w[0]);
     if ($kdbl != 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . strtoupper(nama_bulan($kdbl)) . ' ' . $th, '', 1, 'C');
     }
     if ($kdbl == 13) {
         $this->Cell($w[1], $ln, 'BULAN : ' . nama_bulan($kdbl) . ' TAHUN ' . $th, '', 1, 'C');
     }
     $ln = 4;
     $w1 = array(10, 50, 35, 40, 50, 5);
     $this->SetFont($font, 'B', $size - 1);
     $this->SetX($margin);
     $this->Cell($w1[0], $ln * 3, 'NO.', $border, 0, 'C');
     $this->SetX($margin + $w1[0]);
     $this->Cell($w1[1], $ln * 3, 'Uraian Kelas Jabatan', $border, 0, 'C');
     $this->SetX($margin + $w1[0] + $w1[1]);
     $this->Cell($w1[2], $ln * 3, 'Jumlah Penerima', $border, 0, 'C');
     $y = $this->GetY();
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 2);
     $this->Cell($w1[3], $ln, 'Tunjangan Kinerja', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y + 6);
     $this->Cell($w1[3], $ln, 'Per Kelas Jabatan', $noborder, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2], $y);
     $this->Cell($w1[3], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y);
     $this->Cell($w1[4], $ln, '1. Jumlah Tunjangan', $noborder, 0, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y + 4);
     $this->Cell($w1[4], $ln, '2. Pajak', $noborder, 0, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[5], $y + 8);
     $this->Cell($w1[4], $ln, '3. Jumlah', $noborder, 0, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3], $y);
     $this->Cell($w1[4], $ln * 3, '', $border, 0, 'C');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y);
     $this->Cell($w1[4], $ln, '1. Faktor Pengurang', $noborder, 1, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 4);
     $this->Cell($w1[4], $ln, '2. Potongan Pajak', $noborder, 1, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4] + $w1[5], $y + 8);
     $this->Cell($w1[4], $ln, '3. Jumlah Netto', $noborder, 1, 'L');
     $this->SetXY($margin + $w1[0] + $w1[1] + $w1[2] + $w1[3] + $w1[4], $y);
     $this->Cell($w1[4], $ln * 3, '', $border, 1, 'C');
     $this->SetFont($font, 'B', $size - 2);
 }