$pdf->Cell(13 / 100 * $width, $height, $rMat['kodeorg'], 1, 0, 'C', 1); $pdf->Cell(10 / 100 * $width, $height, $optNamaBrg[$rMat['kodebarang']], 1, 0, 'L', 1); $pdf->Cell(10 / 100 * $width, $height, $rMat['kwantitas'], 1, 0, 'C', 1); $pdf->Cell(15 / 100 * $width, $height, $rMat['kwantitasha'], 1, 0, 'R', 1); $pdf->Cell(10 / 100 * $width, $height, $rMat['hargasatuan'], 1, 0, 'R', 1); $pdf->Cell(30 / 100 * $width, $height, $optGudang[$rMat['kodegudang']], 1, 1, 'L', 1); } $pdf->SetFillColor(255, 255, 255); $pdf->SetFont('Arial', 'B', 8); $sAsis = "select distinct nikmandor,nikmandor1,nikasisten,keranimuat,tanggal,kodeorg from " . $dbname . ".kebun_aktifitas where notransaksi='" . $param['notransaksi'] . "'"; $qAsis = mysql_query($sAsis) or die(mysql_error($conn)); $rAsis = mysql_fetch_assoc($qAsis); setIt($RnamaKary[$rAsis['nikasisten']], ''); setIt($RnamaKary[$rAsis['nikmandor1']], ''); setIt($RnamaKary[$rAsis['nikmandor']], ''); $pdf->ln(35); $pdf->Cell(85 / 100 * $width, $height, $rAsis['kodeorg'] . "," . tanggalnormal($rAsis['tanggal']), 0, 1, 'R', 0); $pdf->ln(35); $pdf->Cell(28 / 100 * $width, $height, $_SESSION['lang']['dstujui_oleh'], 0, 0, 'C', 0); $pdf->Cell(28 / 100 * $width, $height, $_SESSION['lang']['diperiksa'], 0, 0, 'C', 0); $pdf->Cell(29 / 100 * $width, $height, $_SESSION['lang']['dibuatoleh'], 0, 1, 'C', 0); $pdf->ln(65); $pdf->SetFont('Arial', 'U', 8); $pdf->Cell(28 / 100 * $width, $height, $RnamaKary[$rAsis['nikasisten']], 0, 0, 'C', 0); $pdf->Cell(28 / 100 * $width, $height, $RnamaKary[$rAsis['nikmandor1']], 0, 0, 'C', 0); $pdf->Cell(29 / 100 * $width, $height, $RnamaKary[$rAsis['nikmandor']], 0, 1, 'C', 0); $pdf->SetFont('Arial', '', 8); $pdf->Cell(28 / 100 * $width, $height, $_SESSION['lang']['asisten'], 0, 0, 'C', 0); $pdf->Cell(28 / 100 * $width, $height, $_SESSION['lang']['nikmandor1'], 0, 0, 'C', 0); $pdf->Cell(29 / 100 * $width, $height, $_SESSION['lang']['nikmandor'], 0, 1, 'C', 0); //$col3 = 'kodeorg,kodebarang,kwantitas,kwantitasha,hargasatuan';