www/prod_print.php

changeset 670
638e7dd1d560
parent 667
1246550451ca
child 737
3f823bc205ca
--- a/www/prod_print.php	Thu May 07 11:33:54 2020 +0200
+++ b/www/prod_print.php	Thu May 07 14:59:50 2020 +0200
@@ -212,7 +212,10 @@
 			else
 				$amount = sprintf("%.0f",$amount * 1000).' gr';
 			$this->Cell($vul,5,$name.' ('.$supplier.') '.sprintf("%.0f",$color).' EBC',0,0,'L',true);
-			$this->Cell(15,5,sprintf("%.1f%%",$percent),0,0,'R',true);
+			if ($item['f_added'] < 4)
+				$this->Cell(15,5,sprintf("%.1f%%",$percent),0,0,'R',true);
+			else
+				$this->Cell(15,5,' ',0,0,'R',true);
 			$this->Cell(15,5,sprintf("%.1f%%",$yield),0,0,'R',true);
 			$this->Cell(25,5,$soort,0,0,'L',true);
 			$this->Cell(30,5,$added[$item['f_added']],0,0,'L',true);

mercurial