Пример #1
0
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++) {
        $pdf->SetX($margin);
        $pdf->Cell($w2[0], $ln, $arrNo[$i], 'LR', 0, 'C');
Пример #2
0
    echo nilai_kualitas($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="noxy[]" id="noxy" type="hidden" size="5" value="<?php 
    echo $skp_dtl['kualitas_target'];
    ?>
"/></td>
                    <td align="left" valign="top"><input name="waktu_nilai[]" type="text" id="waktu_nilai" size="5" value="<?php 
    echo nilai_waktu($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="noxyz[]" id="noxyz" type="hidden" size="5" value="<?php 
    echo $skp_dtl['waktu_target'];
    ?>
"/></td>
                    <td align="left" valign="top">