www/prod_checklist.php

branch
stable
changeset 520
d25a1b160dba
parent 516
28670364bd0c
child 535
1f0059cfb6fe
equal deleted inserted replaced
493:9e43b216ccd3 520:d25a1b160dba
321 $dry = 0; 321 $dry = 0;
322 foreach ($yeasts as $item) { 322 foreach ($yeasts as $item) {
323 if ($item['y_use'] == 0) { // primary 323 if ($item['y_use'] == 0) { // primary
324 if ($item['y_form'] == 0) { // Liquid 324 if ($item['y_form'] == 0) { // Liquid
325 $this->Checkline($item['y_amount'].' pak '.$item['y_product_id'].', '.$item['y_name'].' gist'); 325 $this->Checkline($item['y_amount'].' pak '.$item['y_product_id'].', '.$item['y_name'].' gist');
326 } else if ($item['y_form'] == 1) { // Dry 326 } else if ($item['y_form'] == 1 || $item['y_form'] == 6) { // Dry
327 $s = sprintf("%.1f",$item['y_amount']*1000).' gram '.$item['y_product_id'].', '.$item['y_name']; 327 $s = sprintf("%.1f",$item['y_amount']*1000).' gram '.$item['y_product_id'].', '.$item['y_name'];
328 $s .= ' gist'; 328 $s .= ' gist';
329 $dry += $item['y_amount']*10000; 329 $dry += $item['y_amount']*10000;
330 $this->Checkline($s); 330 $this->Checkline($s);
331 } else { // Slant/Culture/Frozen/Bottle 331 } else { // Slant/Culture/Frozen/Bottle

mercurial