www/prod_print.php

changeset 755
509510586665
parent 738
11e6bd8d8107
equal deleted inserted replaced
754:30abc8024afe 755:509510586665
556 $this->Cell(15,5,sprintf("%.1f", $row['w1_sodium']),0,0,'R',true); 556 $this->Cell(15,5,sprintf("%.1f", $row['w1_sodium']),0,0,'R',true);
557 $this->Cell(15,5,sprintf("%.1f", $row['w1_total_alkalinity']),0,0,'R',true); 557 $this->Cell(15,5,sprintf("%.1f", $row['w1_total_alkalinity']),0,0,'R',true);
558 $this->Cell(15,5,sprintf("%.1f", $row['w1_chloride']),0,0,'R',true); 558 $this->Cell(15,5,sprintf("%.1f", $row['w1_chloride']),0,0,'R',true);
559 $this->Cell(15,5,sprintf("%.1f", $row['w1_sulfate']),0,0,'R',true); 559 $this->Cell(15,5,sprintf("%.1f", $row['w1_sulfate']),0,0,'R',true);
560 $this->Cell(15,5,sprintf("%.1f", $row['w1_ph']),0,0,'R',true); 560 $this->Cell(15,5,sprintf("%.1f", $row['w1_ph']),0,0,'R',true);
561 $this->Ln(); 561 $this->Ln();
562 $this->Cell($vul,5,$row['w2_name'],0,0,'L',true); 562 if ($row['w2_name'] && floatval($row['w2_amount'])) {
563 $this->Cell(20,5,sprintf("%.1f", $row['w2_amount']).' L',0,0,'R',true); 563 $this->Cell($vul,5,$row['w2_name'],0,0,'L',true);
564 $this->Cell(15,5,sprintf("%.1f", $row['w2_calcium']),0,0,'R',true); 564 $this->Cell(20,5,sprintf("%.1f", $row['w2_amount']).' L',0,0,'R',true);
565 $this->Cell(15,5,sprintf("%.1f", $row['w2_magnesium']),0,0,'R',true); 565 $this->Cell(15,5,sprintf("%.1f", $row['w2_calcium']),0,0,'R',true);
566 $this->Cell(15,5,sprintf("%.1f", $row['w2_sodium']),0,0,'R',true); 566 $this->Cell(15,5,sprintf("%.1f", $row['w2_magnesium']),0,0,'R',true);
567 $this->Cell(15,5,sprintf("%.1f", $row['w2_total_alkalinity']),0,0,'R',true); 567 $this->Cell(15,5,sprintf("%.1f", $row['w2_sodium']),0,0,'R',true);
568 $this->Cell(15,5,sprintf("%.1f", $row['w2_chloride']),0,0,'R',true); 568 $this->Cell(15,5,sprintf("%.1f", $row['w2_total_alkalinity']),0,0,'R',true);
569 $this->Cell(15,5,sprintf("%.1f", $row['w2_sulfate']),0,0,'R',true); 569 $this->Cell(15,5,sprintf("%.1f", $row['w2_chloride']),0,0,'R',true);
570 $this->Cell(15,5,sprintf("%.1f", $row['w2_ph']),0,0,'R',true); 570 $this->Cell(15,5,sprintf("%.1f", $row['w2_sulfate']),0,0,'R',true);
571 $this->Ln(); 571 $this->Cell(15,5,sprintf("%.1f", $row['w2_ph']),0,0,'R',true);
572 $this->Cell($vul,5,'Gemengd water',0,0,'L',true); 572 $this->Ln();
573 $this->Cell(20,5,sprintf("%.1f", $row['wg_amount']).' L',0,0,'R',true); 573 $this->Cell($vul,5,'Gemengd water',0,0,'L',true);
574 $this->Cell(15,5,sprintf("%.1f", $row['wg_calcium']),0,0,'R',true); 574 $this->Cell(20,5,sprintf("%.1f", $row['wg_amount']).' L',0,0,'R',true);
575 $this->Cell(15,5,sprintf("%.1f", $row['wg_magnesium']),0,0,'R',true); 575 $this->Cell(15,5,sprintf("%.1f", $row['wg_calcium']),0,0,'R',true);
576 $this->Cell(15,5,sprintf("%.1f", $row['wg_sodium']),0,0,'R',true); 576 $this->Cell(15,5,sprintf("%.1f", $row['wg_magnesium']),0,0,'R',true);
577 $this->Cell(15,5,sprintf("%.1f", $row['wg_total_alkalinity']),0,0,'R',true); 577 $this->Cell(15,5,sprintf("%.1f", $row['wg_sodium']),0,0,'R',true);
578 $this->Cell(15,5,sprintf("%.1f", $row['wg_chloride']),0,0,'R',true); 578 $this->Cell(15,5,sprintf("%.1f", $row['wg_total_alkalinity']),0,0,'R',true);
579 $this->Cell(15,5,sprintf("%.1f", $row['wg_sulfate']),0,0,'R',true); 579 $this->Cell(15,5,sprintf("%.1f", $row['wg_chloride']),0,0,'R',true);
580 $this->Cell(15,5,sprintf("%.1f", $row['wg_ph']),0,0,'R',true); 580 $this->Cell(15,5,sprintf("%.1f", $row['wg_sulfate']),0,0,'R',true);
581 $this->Ln(); 581 $this->Cell(15,5,sprintf("%.1f", $row['wg_ph']),0,0,'R',true);
582 $this->Ln();
583 }
582 $this->Cell($vul,5,'Behandeld water',0,0,'L',true); 584 $this->Cell($vul,5,'Behandeld water',0,0,'L',true);
583 $this->Cell(20,5,'',0,0,'R',true); 585 $this->Cell(20,5,'',0,0,'R',true);
584 $this->Cell(15,5,sprintf("%.1f", $row['wb_calcium']),0,0,'R',true); 586 $this->Cell(15,5,sprintf("%.1f", $row['wb_calcium']),0,0,'R',true);
585 $this->Cell(15,5,sprintf("%.1f", $row['wb_magnesium']),0,0,'R',true); 587 $this->Cell(15,5,sprintf("%.1f", $row['wb_magnesium']),0,0,'R',true);
586 $this->Cell(15,5,sprintf("%.1f", $row['wb_sodium']),0,0,'R',true); 588 $this->Cell(15,5,sprintf("%.1f", $row['wb_sodium']),0,0,'R',true);

mercurial