$pdf->SetFont($font, '', $size - 3); $oList = mysql_query("SELECT * FROM dtl_skp WHERE id_skp = '{$id_skp}' ORDER BY no_tugas"); while ($List = mysql_fetch_array($oList)) { $no += 1; $perhitungan = nilai_perhitungan_akhir($nib_penilai, $id_skp, $List['no_tugas']); $total_hitung += $perhitungan; $max = 0; $arrNo = $pdf->SplitToArray($w2[0], $ln, $List['no_tugas'] . '.'); $arrUraian = $pdf->SplitToArray($w2[1], $ln, trim($List['nama_tugas'])); $arrAk_kredit = $pdf->SplitToArray($w2[2], $ln, number_format($List['ak_target'], "4", ",", ".")); $arrOutput = $pdf->SplitToArray($w2[3], $ln, $List['jumlah_target'] . ' ' . trim($List['satuan_jumlah'])); $arrMutu = $pdf->SplitToArray($w2[4], $ln, $List['kualitas_target'] . ' %'); $arrWaktu = $pdf->SplitToArray($w2[5], $ln, $List['waktu_target'] . ' ' . trim($List['satuan_waktu'])); $arrBiaya = $pdf->SplitToArray($w2[6], $ln, number_format($List['biaya_target'], "0", ",", ".")); $arrAk_kredit_r = $pdf->SplitToArray($w2[2], $ln, number_format($List['ak_real_awal'], "4", ",", ".")); $arrOutput_r = $pdf->SplitToArray($w2[3], $ln, nilai_jumlah($nib_penilai, $id_skp, $List['no_tugas']) . ' ' . trim($List['satuan_jumlah'])); $arrMutu_r = $pdf->SplitToArray($w2[4], $ln, nilai_kualitas($nib_penilai, $id_skp, $List['no_tugas']) . ' %'); $arrWaktu_r = $pdf->SplitToArray($w2[5], $ln, nilai_waktu($nib_penilai, $id_skp, $List['no_tugas']) . ' ' . trim($List['satuan_waktu'])); $arrBiaya_r = $pdf->SplitToArray($w2[6], $ln, number_format(nilai_biaya($nib_penilai, $id_skp, $List['no_tugas']), "0", ",", ".")); $arrHitung = $pdf->SplitToArray($w2[7], $ln, number_format($perhitungan, "2", ",", ".")); $arrCapaian = $pdf->SplitToArray($w2[8], $ln, number_format($perhitungan / 3, "2", ",", ".")); if ($max < count($arrUraian)) { $max = count($arrUraian); } if ($max < count($arrOutput)) { $max = count($arrOutput); } if ($max < count($arrWaktu)) { $max = count($arrWaktu); } for ($i = 0; $i < $max; $i++) {
?> </td> <td align="center" valign="top"><?php echo $skp_dtl['kualitas_real_awal'] . ' %'; ?> </td> <td align="center" valign="top"><?php echo $skp_dtl['waktu_real_awal'] . ' ' . $skp_dtl['satuan_waktu']; ?> </td> <td align="right" valign="top"><?php echo $skp_dtl['biaya_real_awal']; ?> </td> <td align="left" valign="top"><input name="jumlah_nilai[]" type="text" id="jumlah_nilai" size="5" value="<?php echo nilai_jumlah($nib_penilai, $id_skp, $skp_dtl['no_tugas']); ?> " onfocus="startCalculate(<?php echo $no - 1; ?> )" onblur="stopCalc()" <?php if ($row['status_real_awal'] == 0) { echo "disabled=\"disabled\""; } ?> /> <input name="nox[]" id="nox" type="hidden" size="5" value="<?php echo $skp_dtl['jumlah_target']; ?>