Primo commit: trasferimento del progetto PPEasy
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
$manufactlist = new WA_MySQLi_RS("manufactlist",$cmctrfdb,0);
|
||||
$manufactlist->setQuery("SELECT * FROM auditmanufacturer LEFT JOIN auditdpi ON auditdpi.idauditdpi=auditmanufacturer.idauditdpi WHERE auditmanufacturer.idtrfdetails='$idtrf' ORDER BY auditmanufacturer.idauditdpi");
|
||||
$manufactlist->execute();
|
||||
?>
|
||||
<?php
|
||||
$pdf->SetFont('','B','10');
|
||||
$pdf->Cell(190,6,$manufacturerspdf,1,0,'C');
|
||||
$pdf->SetFillColor(232, 242, 255);
|
||||
$pdf->SetFont('','',9);
|
||||
$pdf->Ln();
|
||||
$pdf->Cell(100,6,$numberdpipdf,1,0,'L');
|
||||
$pdf->Cell(90,6,$manufacturerpdf,1,0,'L');
|
||||
$pdf->Ln(); ?>
|
||||
<?php
|
||||
$wa_startindex = 0;
|
||||
while(!$manufactlist->atEnd()) {
|
||||
$wa_startindex = $manufactlist->Index;
|
||||
$pdf->Cell(100,6,$manufactlist->getColumnVal("dpicode"),1,0,'L');
|
||||
$pdf->Cell(90,6,$manufactlist->getColumnVal("nameauditmanufacturer"),1,0,'L',TRUE);
|
||||
$pdf->Ln();
|
||||
$manufactlist->moveNext();
|
||||
}
|
||||
$manufactlist->moveFirst(); //return RS to first record
|
||||
unset($wa_startindex);
|
||||
unset($wa_repeatcount);
|
||||
$pdf->Ln();
|
||||
?>
|
||||
Reference in New Issue
Block a user