Tue, 31 Aug 2021 20:48:37 +0200
Split batch, adjust mash step volume. In the duplicated log_brew handle the missing values. In save product, round the mash step sg to 4 decimals. In prod_edit, ingredients are stored as strings, not arrays. This triggered a memory corruption that only happened in rare circumstances. Don't fix mash step fields in the javascript, it is already done during load from the database. Calculation of the mash volume is rounded to 6 decimals. Enter mash step Brix/Plato value, the SG result is rounded to 4 decimals.
<?php require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php'); page_header('Monitor CO2 meters', 'mon_co2meter'); ?> <div id="co2meter"> <div style="float: left; width: 970px;"> <div id="co2meter_table"> <div id="co2meter_info"> <table style='width: 100%; padding: 10px;'> <col width="20%"> <col width="40%"> <col width="40%"> <tr><th colspan=3>CO2 meter overzicht</th></tr> <tr><td colspan=3> </td></tr> <tr style="height: 25px;"> <td>Uuid</td> <td colspan="2"><div id="info_uuid"></div></td> </tr> <tr style="height: 25px;"> <td>Systeem</td> <td><div id="info_system"></div></td> <td><div id="info_online"></div></td> </tr> <tr style="height: 25px;"> <td>Code en bier</td> <td><div id="info_beer"></div></td> <td><div id="select_beer"></div></td> </tr> <tr style="height: 25px;"> <td>Werking</td> <td colspan="2"><div id="info_mode"></div></td> </tr> </table> </div> </div> <div id='co2meter_meters'> <div id="gaugeContainer_temperature" style='float: left; margin-top: 10px; margin-left: 60px;'></div> <div id="gaugeContainer_pressure" style="float: right; margin-top: 10px; margin-right: 60px;"></div> </div> </div> <!-- End left side --> <div style="float: right; width: 295px;"> <div id="co2meter_panel_top"> <div id="co2meter_powerled"></div> <div id="co2meter_alarmled"></div> </div> <!-- co2meter_panel_top --> <div id="co2meter_panel_display"> <div id="co2meter_display"> </div> <div id="co2meter_display"> </div> </div> <!-- co2meter_panel_display --> <div id="co2meter_panel_control"> </div> <!-- co2meter_panel_control --> <div id="co2meter_panel_buttons"> <input style="margin-top: 20px; margin-left: 70px;" type="button" id="FLog" value="CO2 log" /> </div> <!-- co2meter_panel_buttons --> </div> <!-- End right side --> </div> <?php page_footer(); ?>