651 $this->SetX($this->TableX); |
651 $this->SetX($this->TableX); |
652 $this->Cell(35,5,'Geschat alcohol',0,0,'L',true); |
652 $this->Cell(35,5,'Geschat alcohol',0,0,'L',true); |
653 $this->Cell(25,5,sprintf("%.1f",$row['est_abv']).'%',0,0,'L',true); |
653 $this->Cell(25,5,sprintf("%.1f",$row['est_abv']).'%',0,0,'L',true); |
654 $this->Cell(25,5,'('.sprintf("%.1f",$row['st_abv_min']).' - '.sprintf("%.1f",$row['st_abv_max']).'%)',0,0,'L',true); |
654 $this->Cell(25,5,'('.sprintf("%.1f",$row['st_abv_min']).' - '.sprintf("%.1f",$row['st_abv_max']).'%)',0,0,'L',true); |
655 $this->Cell($vul,5,'',0,0,'L',false); |
655 $this->Cell($vul,5,'',0,0,'L',false); |
656 $this->Cell(35,5,'CO2',0,0,'L',true); |
656 $this->Cell(35,5,'Flessen CO2',0,0,'L',true); |
657 $this->Cell(25,5,sprintf("%.1f",$row['est_carb']).'%',0,0,'L',true); |
657 $this->Cell(25,5,sprintf("%.1f",$row['bottle_carbonation']).'%',0,0,'L',true); |
658 $this->Cell(25,5,'('.sprintf("%.1f",$row['st_carb_min']).' - '.sprintf("%.1f",$row['st_carb_max']).'%)',0,0,'L',true); |
658 $this->Cell(25,5,'('.sprintf("%.1f",$row['st_carb_min']).' - '.sprintf("%.1f",$row['st_carb_max']).'%)',0,0,'L',true); |
659 $this->Ln(); |
659 $this->Ln(); |
660 |
660 |
661 $row['est_color'] = kw_to_ebc($row['color_method'], $colorw); |
661 $row['est_color'] = kw_to_ebc($row['color_method'], $colorw); |
662 $this->SetX($this->TableX); |
662 $this->SetX($this->TableX); |
668 $this->Cell(25,5,$row['est_color'].' EBC',0,0,'L',true); |
668 $this->Cell(25,5,$row['est_color'].' EBC',0,0,'L',true); |
669 $this->Cell(25,5,'('.$row['st_color_min'].' - '.$row['st_color_max'].' EBC)',0,0,'L',true); |
669 $this->Cell(25,5,'('.$row['st_color_min'].' - '.$row['st_color_max'].' EBC)',0,0,'L',true); |
670 $this->SetTextColor(0); |
670 $this->SetTextColor(0); |
671 $this->SetFillColor(210,245,255); |
671 $this->SetFillColor(210,245,255); |
672 $this->Cell($vul,5,'',0,0,'L',false); |
672 $this->Cell($vul,5,'',0,0,'L',false); |
|
673 $this->Cell(35,5,'Fusten CO2',0,0,'L',true); |
|
674 $this->Cell(25,5,sprintf("%.1f",$row['keg_carbonation']).'%',0,0,'L',true); |
|
675 $this->Cell(25,5,'('.sprintf("%.1f",$row['st_carb_min']).' - '.sprintf("%.1f",$row['st_carb_max']).'%)',0,0,'L',true); |
|
676 $this->Ln(); |
|
677 |
|
678 $this->SetX($this->TableX); |
673 $this->Cell(35,5,'Bitterheid ('.$ibumethod[$row['ibu_method']].')',0,0,'L',true); |
679 $this->Cell(35,5,'Bitterheid ('.$ibumethod[$row['ibu_method']].')',0,0,'L',true); |
674 $this->Cell(25,5,sprintf("%.0f",$row['est_ibu']).' IBU',0,0,'L',true); |
680 $this->Cell(25,5,sprintf("%.0f",$row['est_ibu']).' IBU',0,0,'L',true); |
675 $this->Cell(25,5,'('.$row['st_ibu_min'].' - '.$row['st_ibu_max'].' IBU)',0,0,'L',true); |
681 $this->Cell(25,5,'('.$row['st_ibu_min'].' - '.$row['st_ibu_max'].' IBU)',0,0,'L',true); |
676 $this->Ln(); |
682 $this->Cell($vul,5,'',0,0,'L',false); |
677 |
|
678 $this->SetX($this->TableX); |
|
679 $cost_total = $cost_fermentables + $cost_hops + $cost_miscs + $cost_yeasts; |
683 $cost_total = $cost_fermentables + $cost_hops + $cost_miscs + $cost_yeasts; |
680 $this->Cell(35,5,'Kosten',0,0,'L',true); |
684 $this->Cell(35,5,'Kosten',0,0,'L',true); |
681 $this->Cell(25,5,sprintf("%.2f",$cost_total).EURO,0,0,'L',true); |
685 $this->Cell(25,5,sprintf("%.2f",$cost_total).EURO,0,0,'L',true); |
682 $this->Cell(25,5,sprintf("%.2f",$cost_total/$row['batch_size']).EURO.' / liter',0,0,'L',true); |
686 $this->Cell(25,5,sprintf("%.2f",$cost_total/$row['batch_size']).EURO.' / liter',0,0,'L',true); |
683 |
687 |