diff -r 66e0b4ef9268 -r 30346e5b9e12 www/includes/db_inventory_yeasts.php --- a/www/includes/db_inventory_yeasts.php Sun Dec 20 13:40:56 2020 +0100 +++ b/www/includes/db_inventory_yeasts.php Fri Apr 09 14:45:18 2021 +0200 @@ -43,6 +43,10 @@ $sql .= "', pitch_temperature='" . floatval($_POST['pitch_temperature']); ($_POST['pofpos'] == 'true') ? $sql .= "', pofpos='1" : $sql .= "', pofpos='0"; $sql .= "', zymocide='" . $_POST['zymocide']; + $sql .= "', gr_hl_lo='" . $_POST['gr_hl_lo']; + $sql .= "', sg_lo='" . floatval($_POST['sg_lo']); + $sql .= "', gr_hl_hi='" . $_POST['gr_hl_hi']; + $sql .= "', sg_hi='" . floatval($_POST['sg_hi']); $sql .= "', inventory='" . $_POST['inventory']; $sql .= "', cost='" . $_POST['cost'] . "'"; if ($_POST['production_date'] == '') @@ -116,7 +120,11 @@ 'harvest_time' => $row['harvest_time'], 'pitch_temperature' => floatval($row['pitch_temperature']), 'pofpos' => $row['pofpos'], - 'zymocide' => $row['zymocide'] + 'zymocide' => $row['zymocide'], + 'gr_hl_lo' => $row['gr_hl_lo'], + 'sg_lo' => floatval($row['sg_lo']), + 'gr_hl_hi' => $row['gr_hl_hi'], + 'sg_hi' => floatval($row['sg_hi']) ); } header("Content-type: application/json");