www/prod_print.php

changeset 293
db898ec73277
parent 289
4082c41f45e9
child 319
60002c09f78a
equal deleted inserted replaced
292:90cd3798edc2 293:db898ec73277
304 $this->Cell(15,5,sprintf("%.1f%%",$attenuation),0,0,'R',true); 304 $this->Cell(15,5,sprintf("%.1f%%",$attenuation),0,0,'R',true);
305 $this->Cell(22,5,$yeastform[$item['y_form']],0,0,'L',true); 305 $this->Cell(22,5,$yeastform[$item['y_form']],0,0,'L',true);
306 $this->Cell(18,5,$amount,0,0,'R',true); 306 $this->Cell(18,5,$amount,0,0,'R',true);
307 $this->Cell(20,5,sprintf("%8.3f",$cost).EURO,0,0,'R',true); 307 $this->Cell(20,5,sprintf("%8.3f",$cost).EURO,0,0,'R',true);
308 $this->Ln(); 308 $this->Ln();
309 }
310 if ($row['starter_enable']) {
311 $v = floatval($row['prop1_volume']) + floatval($row['prop2_volume']) + floatval($row['prop3_volume']) + floatval($row['prop4_volume']);
312 if ($v) {
313 $this->Cell(45,5,'',0,0,'L',true);
314 $this->Cell($vul,5,"Giststarter ".sprintf("%.2f",$v)." liter",0,0,'L',true);
315 $this->Cell(20,5,"Tevoren",0,0,'L',true);
316 $this->Cell(75,5,'',0,0,'L',true);
317 $this->Ln();
318 }
309 } 319 }
310 320
311 $this->SetFillColor(210,245,255); 321 $this->SetFillColor(210,245,255);
312 $this->Cell($vul+120,5,'',0,0,'L',false); 322 $this->Cell($vul+120,5,'',0,0,'L',false);
313 $this->Cell(20,5,sprintf("%8.3f",$cost_yeasts).EURO,0,0,'R',true); 323 $this->Cell(20,5,sprintf("%8.3f",$cost_yeasts).EURO,0,0,'R',true);

mercurial