210 else if ($amount > 10) |
210 else if ($amount > 10) |
211 $amount = sprintf("%.2f",$amount).' kg'; |
211 $amount = sprintf("%.2f",$amount).' kg'; |
212 else |
212 else |
213 $amount = sprintf("%.0f",$amount * 1000).' gr'; |
213 $amount = sprintf("%.0f",$amount * 1000).' gr'; |
214 $this->Cell($vul,5,$name.' ('.$supplier.') '.sprintf("%.0f",$color).' EBC',0,0,'L',true); |
214 $this->Cell($vul,5,$name.' ('.$supplier.') '.sprintf("%.0f",$color).' EBC',0,0,'L',true); |
215 $this->Cell(15,5,sprintf("%.1f%%",$percent),0,0,'R',true); |
215 if ($item['f_added'] < 4) |
|
216 $this->Cell(15,5,sprintf("%.1f%%",$percent),0,0,'R',true); |
|
217 else |
|
218 $this->Cell(15,5,' ',0,0,'R',true); |
216 $this->Cell(15,5,sprintf("%.1f%%",$yield),0,0,'R',true); |
219 $this->Cell(15,5,sprintf("%.1f%%",$yield),0,0,'R',true); |
217 $this->Cell(25,5,$soort,0,0,'L',true); |
220 $this->Cell(25,5,$soort,0,0,'L',true); |
218 $this->Cell(30,5,$added[$item['f_added']],0,0,'L',true); |
221 $this->Cell(30,5,$added[$item['f_added']],0,0,'L',true); |
219 $this->Cell(20,5,$amount,0,0,'R',true); |
222 $this->Cell(20,5,$amount,0,0,'R',true); |
220 $this->Cell(20,5,sprintf("%.3f",$cost).EURO,0,0,'R',true); |
223 $this->Cell(20,5,sprintf("%.3f",$cost).EURO,0,0,'R',true); |