Thu, 17 Oct 2019 16:09:53 +0200
Added dried yeast form.
www/prod_checklist.php | file | annotate | diff | comparison | revisions | |
www/prod_forum.php | file | annotate | diff | comparison | revisions | |
www/prod_print.php | file | annotate | diff | comparison | revisions | |
www/rec_forum.php | file | annotate | diff | comparison | revisions | |
www/rec_print.php | file | annotate | diff | comparison | revisions |
--- a/www/prod_checklist.php Thu Oct 17 16:00:10 2019 +0200 +++ b/www/prod_checklist.php Thu Oct 17 16:09:53 2019 +0200 @@ -323,7 +323,7 @@ if ($item['y_use'] == 0) { // primary if ($item['y_form'] == 0) { // Liquid $this->Checkline($item['y_amount'].' pak '.$item['y_product_id'].', '.$item['y_name'].' gist'); - } else if ($item['y_form'] == 1) { // Dry + } else if ($item['y_form'] == 1 || $item['y_form'] == 6) { // Dry $s = sprintf("%.1f",$item['y_amount']*1000).' gram '.$item['y_product_id'].', '.$item['y_name']; $s .= ' gist'; $dry += $item['y_amount']*10000;
--- a/www/prod_forum.php Thu Oct 17 16:00:10 2019 +0200 +++ b/www/prod_forum.php Thu Oct 17 16:09:53 2019 +0200 @@ -168,7 +168,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";
--- 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";
--- a/www/rec_forum.php Thu Oct 17 16:00:10 2019 +0200 +++ b/www/rec_forum.php Thu Oct 17 16:09:53 2019 +0200 @@ -168,7 +168,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";
--- 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";