www/rec_print.php

changeset 516
28670364bd0c
parent 514
3c680d1dea35
child 539
fe9ac6d49c4f
--- a/www/rec_print.php	Thu Oct 17 16:00:10 2019 +0200
+++ b/www/rec_print.php	Thu Oct 17 16:09:53 2019 +0200
@@ -294,7 +294,7 @@
 
 			if ($item['y_form'] == 0)	// Liquid
 				$amount = sprintf("%.0f",floatval($item['y_amount']))." pak";
-			else if ($item['y_form'] == 1)	// Dry
+			else if ($item['y_form'] == 1 || $item['y_form'] == 6)	// Dry
 				$amount = sprintf("%.1f",floatval($item['y_amount'])*1000)." gr";
 			else
 				$amount = sprintf("%.0f",floatval($item['y_amount'])*1000)." ml";

mercurial