108 $this->Checkline(sprintf("%.1f",floatval($row['w2_amount'])).' liter water '.$row['w2_name']); |
108 $this->Checkline(sprintf("%.1f",floatval($row['w2_amount'])).' liter water '.$row['w2_name']); |
109 $mashwater += floatval($row['w2_amount']); |
109 $mashwater += floatval($row['w2_amount']); |
110 } |
110 } |
111 foreach($miscs as $item) { |
111 foreach($miscs as $item) { |
112 if ($item['m_type'] == 4) { // Only the water agents |
112 if ($item['m_type'] == 4) { // Only the water agents |
113 $unit = ($item['m_amount_is_weight']) ? " gram ":" ml "; |
113 $unit = ($item['m_amount_is_weight']) ? " gr ":" ml "; |
114 $this->Checkline(sprintf("%.1f",floatval($item['m_amount'] * 1000)).$unit.$item['m_name']); |
114 $this->Checkline(sprintf("%.1f",floatval($item['m_amount'] * 1000)).$unit.$item['m_name']); |
115 $numsalts++; |
115 $numsalts++; |
116 } |
116 } |
117 } |
117 } |
118 $this->Ln(5); |
118 $this->Ln(5); |
159 $this->Checkline($s); |
159 $this->Checkline($s); |
160 } |
160 } |
161 } |
161 } |
162 foreach($miscs as $item3) { |
162 foreach($miscs as $item3) { |
163 if ($item3['m_use_use'] == 1 && $item3['m_type'] != 4) { // Only if not a water agent |
163 if ($item3['m_use_use'] == 1 && $item3['m_type'] != 4) { // Only if not a water agent |
164 $s = sprintf("%.2f",$item3['m_amount']*1000).' gr `'; |
164 $unit = ($item3['m_amount_is_weight']) ? " gr ":" ml "; |
|
165 $s = sprintf("%.2f",$item3['m_amount']*1000).$unit.'`'; |
165 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` toevoegen'; |
166 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` toevoegen'; |
166 $this->Checkline($s); |
167 $this->Checkline($s); |
167 } |
168 } |
168 } |
169 } |
169 $this->Checkline($item['step_time'].' min. bij '.$item['step_temp'].' '.DEG.'C'); |
170 $this->Checkline($item['step_time'].' min. bij '.$item['step_temp'].' '.DEG.'C'); |
252 $this->Checkline($s); |
253 $this->Checkline($s); |
253 } |
254 } |
254 } |
255 } |
255 foreach($miscs as $item3) { |
256 foreach($miscs as $item3) { |
256 if ($item3['m_use_use'] == 2 && $item3['m_time'] == $i) { |
257 if ($item3['m_use_use'] == 2 && $item3['m_time'] == $i) { |
257 $s = sprintf("%.1f",$item3['m_amount']*1000).' gr `'; |
258 $unit = ($item3['m_amount_is_weight']) ? " gr ":" ml "; |
|
259 $s = sprintf("%.1f",$item3['m_amount']*1000).$unit.'`'; |
258 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` bij '; |
260 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` bij '; |
259 if ($i > 0) |
261 if ($i > 0) |
260 $s .= $i.' minuten voor einde koken'; |
262 $s .= $i.' minuten voor einde koken'; |
261 else |
263 else |
262 $s .= 'vlamuit'; |
264 $s .= 'vlamuit'; |
386 $this->Checkline($s); |
388 $this->Checkline($s); |
387 } |
389 } |
388 } |
390 } |
389 foreach($miscs as $item3) { |
391 foreach($miscs as $item3) { |
390 if ($item3['m_use_use'] == 3) { |
392 if ($item3['m_use_use'] == 3) { |
391 $s = sprintf("%.1f",$item3['m_amount']*1000).' gr `'; |
393 $unit = ($item3['m_amount_is_weight']) ? " gr ":" ml "; |
|
394 $s = sprintf("%.1f",$item3['m_amount']*1000).$unit.'`'; |
392 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` op dag 3 of 4 toevoegen'; |
395 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` op dag 3 of 4 toevoegen'; |
393 $this->Checkline($s); |
396 $this->Checkline($s); |
394 } |
397 } |
395 } |
398 } |
396 |
399 |
480 $this->Checkline($s); |
483 $this->Checkline($s); |
481 } |
484 } |
482 } |
485 } |
483 foreach($miscs as $item3) { |
486 foreach($miscs as $item3) { |
484 if ($item3['m_use_use'] == 4) { |
487 if ($item3['m_use_use'] == 4) { |
485 $s = sprintf("%.1f",$item3['m_amount']*1000).' gr `'; |
488 $unit = ($item3['m_amount_is_weight']) ? " gr ":" ml "; |
|
489 $s = sprintf("%.1f",$item3['m_amount']*1000).$unit.'`'; |
486 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` voor '; |
490 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` voor '; |
487 $s .= sprintf("%.0f",$item3['m_time']/1440).' dagen toevoegen'; |
491 $s .= sprintf("%.0f",$item3['m_time']/1440).' dagen toevoegen'; |
488 $this->Checkline($s); |
492 $this->Checkline($s); |
489 } |
493 } |
490 } |
494 } |
534 $this->Checkline($s); |
538 $this->Checkline($s); |
535 } |
539 } |
536 } |
540 } |
537 foreach($miscs as $item3) { |
541 foreach($miscs as $item3) { |
538 if ($item3['m_use_use'] == 5) { |
542 if ($item3['m_use_use'] == 5) { |
539 $s = sprintf("%.1f",$item3['m_amount']*1000).' gr `'; |
543 $unit = ($item3['m_amount_is_weight']) ? " gr ":" ml "; |
|
544 $s = sprintf("%.1f",$item3['m_amount']*1000).$unit.'`'; |
540 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` bij bottelen toevoegen'; |
545 $s .= iconv('UTF-8','windows-1252',$item3['m_name']).'` bij bottelen toevoegen'; |
541 $this->Checkline($s); |
546 $this->Checkline($s); |
542 } |
547 } |
543 } |
548 } |
544 } |
549 } |