More code cleanup

Sat, 18 Apr 2020 15:56:40 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 18 Apr 2020 15:56:40 +0200
changeset 657
a5ade45597d8
parent 656
a4a9f6ded485
child 658
945d5eba869a

More code cleanup

www/includes/formulas.php file | annotate | diff | comparison | revisions
www/prod_edit.php file | annotate | diff | comparison | revisions
--- a/www/includes/formulas.php	Sat Apr 18 14:45:41 2020 +0200
+++ b/www/includes/formulas.php	Sat Apr 18 15:56:40 2020 +0200
@@ -185,9 +185,6 @@
 function abvol($og, $fg) {
 	$factor = $og * 3157 * pow(10, -5) + 9.716 * pow(10, -2);
 	return ($og * 1000 - $fg * 1000) * $factor;
-	//if ((4.749804 - $fg) <> 0)
-	//	return 486.8693 * ($og - $fg) / (4.749804 - $fg);
-	//return 0;
 }
 
 
@@ -300,8 +297,6 @@
 		$tempfactor = (32.8/550)*0.02+1;
 		$ibu = ($boilfactor * $alpha * $mass * 0.1) / ($volume * $sgfactor * $hopratefactor * $tempfactor);
 	}
-	/* TODO: Noonan and Mosher */
-
 	return $ibu;
 }
 
--- a/www/prod_edit.php	Sat Apr 18 14:45:41 2020 +0200
+++ b/www/prod_edit.php	Sat Apr 18 15:56:40 2020 +0200
@@ -303,14 +303,12 @@
            </tr>
            <tr>
             <td align="center">4</td>
-            <div id="prop4_row">
             <td><div id="prop4_type"></div><div id="r4_pmpt">Niet nodig</div></td>
             <td><div id="prop4_volume"></div></td>
             <td><div style="float: left;" id="prop4_irate"></div><div style="float: left;" id="r4_irate"></div></td>
             <td><div id="prop4_ncells"></div></td>
             <td><div style="float: left;" id="prop4_tcells"></div><div style="float: left;" id="r4_tcells"></div></td>
             <td><div style="float: left;" id="prop4_growf"></div><div style="float: left;" id="r4_growf"></div></td>
-            </div>
            </tr>
           </table>
          </div>

mercurial