www/prod_print.php

changeset 319
60002c09f78a
parent 293
db898ec73277
child 338
a51b858aacca
--- a/www/prod_print.php	Mon Mar 04 19:47:47 2019 +0100
+++ b/www/prod_print.php	Mon Mar 04 20:18:59 2019 +0100
@@ -604,9 +604,13 @@
 				if ($item['step_type'] == 0)
 					$mvol += $item['step_infuse_amount'];	// We need this later.
 				if ($loop == 0) {
-					$s = sprintf("%.1f",$mashwater).' liter water opwarmen tot ';
+					if ($item['step_type'] == 0)
+						$l = $item['step_infuse_amount'];
+					else
+						$l = $mashwater;
+					$s = sprintf("%.1f",$l).' liter water opwarmen tot ';
 					$s .= sprintf("%.1f",$item['step_temp']).' '.DEG.'C (';
-					$s .= sprintf("%.1f",kettle_cm($mashwater,$row['eq_tun_volume'],$row['eq_tun_height']));
+					$s .= sprintf("%.1f",kettle_cm($l,$row['eq_tun_volume'],$row['eq_tun_height']));
 					$s .= ' cm onder de rand)';
 					$this->Checkline($s);
 					if ($numsalts > 0)

mercurial