www/includes/db_inventory_equipments.php

changeset 842
897bf2a43253
parent 840
ba607babc468
--- a/www/includes/db_inventory_equipments.php	Sun Oct 30 16:46:03 2022 +0100
+++ b/www/includes/db_inventory_equipments.php	Sat Jan 14 11:25:20 2023 +0100
@@ -39,7 +39,7 @@
 	$sql .= "', tun_material='" . $_POST['tun_material'];
 	$sql .= "', tun_height='" . floatval($_POST['tun_height']) / 100.0;
 	$sql .= "', top_up_water='" . $_POST['top_up_water'];
-	$sql .= "', trub_chiller_loss='" . $_POST['trub_chiller_loss'];
+	$sql .= "', trub_loss='" . $_POST['trub_loss'];
 	$sql .= "', evap_rate='" . $_POST['evap_rate'];
 	$sql .= "', boil_time='" . $_POST['boil_time'];
 	($_POST['calc_boil_volume'] == 'true') ? $sql .= "', calc_boil_volume='1" : $sql .= "', calc_boil_volume='0";
@@ -114,7 +114,7 @@
 			'tun_material' => $row['tun_material'],
 			'tun_height' => floatval($row['tun_height']) * 100.0,
 			'top_up_water' => $row['top_up_water'],
-			'trub_chiller_loss' => $row['trub_chiller_loss'],
+			'trub_loss' => $row['trub_loss'],
 			'evap_rate' => $row['evap_rate'],
 			'boil_time' => $row['boil_time'],
 			'calc_boil_volume' => $row['calc_boil_volume'],

mercurial