228 if (($item['h_useat'] == 2) || ($item['h_useat'] == 4)) { // Boil or Whirlpool |
228 if (($item['h_useat'] == 2) || ($item['h_useat'] == 4)) { // Boil or Whirlpool |
229 $moment = $hopuse[$item['h_useat']].' '.$time." min"; |
229 $moment = $hopuse[$item['h_useat']].' '.$time." min"; |
230 } else if ($item['h_useat'] == 5) { // Dryhop |
230 } else if ($item['h_useat'] == 5) { // Dryhop |
231 $moment = $hopuse[$item['h_useat']].' '.sprintf("%.0f", $time / 1440).' dagen'; |
231 $moment = $hopuse[$item['h_useat']].' '.sprintf("%.0f", $time / 1440).' dagen'; |
232 } |
232 } |
233 $ibu = calc_IBU($item['h_useat'], $item['h_form'], $preboil_sg, floatval($row['batch_size']), $mass, $time, $alpha, $row['ibu_method']); |
233 $ibu = calc_IBU($item['h_useat'], $item['h_form'], $preboil_sg, floatval($row['batch_size']), $mass, $time, $alpha, |
|
234 $row['ibu_method'], $row['brew_whirlpool9'], $row['brew_whirlpool7'], $row['brew_whirlpool6']); |
234 $total_ibus += $ibu; |
235 $total_ibus += $ibu; |
235 |
236 |
236 if ($amount > 1) |
237 if ($amount > 1) |
237 $amount = sprintf("%.3f",$amount).' kg'; |
238 $amount = sprintf("%.3f",$amount).' kg'; |
238 else |
239 else |
609 $this->SetX(45); |
610 $this->SetX(45); |
610 $this->Cell(17,5,'Datum:',0,0,'L'); |
611 $this->Cell(17,5,'Datum:',0,0,'L'); |
611 $this->Cell(0,5,$prdate,0,1,'L'); |
612 $this->Cell(0,5,$prdate,0,1,'L'); |
612 $this->SetX(45); |
613 $this->SetX(45); |
613 $this->Cell(17,5,'Stijl:',0,0,'L'); |
614 $this->Cell(17,5,'Stijl:',0,0,'L'); |
614 $this->Cell(0,5,$row['st_name'],0,1,'L'); |
615 $st_name = iconv('UTF-8','windows-1252',$row['st_name']); |
|
616 $this->Cell(0,5,$st_name,0,1,'L'); |
615 $this->Ln(7); |
617 $this->Ln(7); |
616 // Ensure table header is printed |
618 // Ensure table header is printed |
617 parent::Header(); |
619 parent::Header(); |
618 } |
620 } |
619 } |
621 } |