www/prod_print.php

changeset 293
db898ec73277
parent 289
4082c41f45e9
child 319
60002c09f78a
--- a/www/prod_print.php	Mon Feb 25 13:27:41 2019 +0100
+++ b/www/prod_print.php	Mon Feb 25 17:29:35 2019 +0100
@@ -307,6 +307,16 @@
 			$this->Cell(20,5,sprintf("%8.3f",$cost).EURO,0,0,'R',true);
 			$this->Ln();
 		}
+		if ($row['starter_enable']) {
+			$v = floatval($row['prop1_volume']) + floatval($row['prop2_volume']) + floatval($row['prop3_volume']) + floatval($row['prop4_volume']);
+			if ($v) {
+				$this->Cell(45,5,'',0,0,'L',true);
+				$this->Cell($vul,5,"Giststarter ".sprintf("%.2f",$v)." liter",0,0,'L',true);
+				$this->Cell(20,5,"Tevoren",0,0,'L',true);
+				$this->Cell(75,5,'',0,0,'L',true);
+				$this->Ln();
+			}
+		}
 
 		$this->SetFillColor(210,245,255);
 		$this->Cell($vul+120,5,'',0,0,'L',false);

mercurial