www/prod_print.php

changeset 516
28670364bd0c
parent 514
3c680d1dea35
child 534
01fa81a33b70
child 539
fe9ac6d49c4f
--- a/www/prod_print.php	Thu Oct 17 16:00:10 2019 +0200
+++ b/www/prod_print.php	Thu Oct 17 16:09:53 2019 +0200
@@ -323,7 +323,7 @@
 				$svg = $attenuation;
 			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