www/rec_print.php

changeset 96
107c12c3e49d
parent 94
295c3af2a421
child 98
92d6bc8a4cdd
equal deleted inserted replaced
95:8dc0a00b1db4 96:107c12c3e49d
154 $this->Cell(15,5,sprintf("%.1f%%",$yield),0,0,'R',true); 154 $this->Cell(15,5,sprintf("%.1f%%",$yield),0,0,'R',true);
155 $this->Cell(20,5,sprintf("%8.3f",$cost).EURO,0,0,'R',true); 155 $this->Cell(20,5,sprintf("%8.3f",$cost).EURO,0,0,'R',true);
156 $this->Ln(); 156 $this->Ln();
157 } 157 }
158 158
159 $row['est_og'] = estimate_og($sugf, floatval($row['batch_size'])); 159 $row['est_og'] = estimate_sg($sugf, floatval($row['batch_size']));
160 $preboil_sg = estimate_og($sugf, floatval($row['boil_size'])); 160 $preboil_sg = estimate_sg($sugf, floatval($row['boil_size']));
161 $this->SetFillColor(210,245,255); 161 $this->SetFillColor(210,245,255);
162 $this->Cell($vul+62,5,'',0,0,'L',false); 162 $this->Cell($vul+62,5,'',0,0,'L',false);
163 $this->Cell(20,5,sprintf("%8.3f",$total_fermentables),0,0,'R',true); 163 $this->Cell(20,5,sprintf("%8.3f",$total_fermentables),0,0,'R',true);
164 $this->Cell(30,5,'',0,0,'L',false); 164 $this->Cell(30,5,'',0,0,'L',false);
165 $this->Cell(20,5,sprintf("%8.3f",$cost_fermentables).EURO,0,0,'R',true); 165 $this->Cell(20,5,sprintf("%8.3f",$cost_fermentables).EURO,0,0,'R',true);

mercurial