コード例 #1
0
 $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++) {
     $pdf->SetX($margin);
     $pdf->Cell($w2[0], $ln, $arrNo[$i], 'LR', 0, 'C');
     $pdf->SetX($margin + $w2[0]);
コード例 #2
0
" onFocus="startCalculate(<?php 
        echo $no - 1;
        ?>
)" onBlur="stopCalc()"/><input name="noxyz1[]" id="noxyz1" type="hidden" size="5" value="<?php 
        echo $skp_dtl['biaya_target'];
        ?>
"/>
					<?php 
    } else {
        ?>
					<input type="text" size="5" value="<?php 
        echo nilai_biaya($nib_penilai, $id_skp, $skp_dtl['no_tugas']);
        ?>
" disabled="disabled"/>
					<input name="biaya_nilai[]" type="hidden" id="biaya_nilai" size="5" value="<?php 
        echo nilai_biaya($nib_penilai, $id_skp, $skp_dtl['no_tugas']);
        ?>
"/><input name="noxyz1[]" id="noxyz1" type="hidden" size="5" value="<?php 
        echo $skp_dtl['biaya_target'];
        ?>
"/>
					<?php 
    }
    ?>
								</td>
			        <td align="center" valign="top">
                    <input name="penghitungan[]" id="penghitungan"  type="text" size="5" value="<?php 
    echo number_format(nilai_perhitungan($nib_penilai, $id_skp, $skp_dtl['no_tugas']), "2", ".", ",");
    ?>
"/></td>
		          <td align="center" valign="top">