www/import/from_brouwhulp.php

changeset 842
897bf2a43253
parent 840
ba607babc468
--- a/www/import/from_brouwhulp.php	Sun Oct 30 16:46:03 2022 +0100
+++ b/www/import/from_brouwhulp.php	Sat Jan 14 11:25:20 2023 +0100
@@ -457,7 +457,7 @@
 			echo "Unknown TUN_SPECIFIC_HEAT" . $equipment->TUN_SPECIFIC_HEAT . PHP_EOL;
 		$sql .= "', tun_height='" . floatval($equipment->TUN_HEIGHT);
 		$sql .= "', top_up_water='" . floatval($equipment->TOP_UP_WATER);
-		$sql .= "', trub_chiller_loss='" . floatval($equipment->TRUB_CHILLER_LOSS);
+		$sql .= "', trub_loss='" . floatval($equipment->TRUB_CHILLER_LOSS);
 		/*
 		 * Brouwhulp uses a percentage for the evaporation rate. This is wrong
 		 * but was made so because the beerxml standard requires this. What we
@@ -1568,7 +1568,7 @@
 			$sql .= "', eq_tun_height='" . floatval($recipe->EQUIPMENT->TUN_HEIGHT);
 			if ($recipe->EQUIPMENT->TOP_UP_WATER)
 				$sql .= "', eq_top_up_water='" . floatval($recipe->EQUIPMENT->TOP_UP_WATER);
-			$sql .= "', eq_trub_chiller_loss='" . floatval($recipe->EQUIPMENT->TRUB_CHILLER_LOSS);
+			$sql .= "', eq_trub_loss='" . floatval($recipe->EQUIPMENT->TRUB_CHILLER_LOSS);
 			/*
 			 * Brouwhulp uses a percentage for the evaporation rate. This is wrong
 			 * but was made so because the beerxml standard requires this. What we

mercurial