www/js/profile_setup.js

changeset 289
4082c41f45e9
parent 270
cf4b4b63eb36
child 446
ee7bcfb8e270
--- a/www/js/profile_setup.js	Sun Feb 24 21:22:25 2019 +0100
+++ b/www/js/profile_setup.js	Sun Feb 24 22:29:00 2019 +0100
@@ -45,6 +45,7 @@
 	$("#factor_fwh").jqxTooltip({ content: 'Het efficientie percentage voor First Wort Hop.' });
 	$("#factor_pellet").jqxTooltip({ content: 'Het efficientie percentage bij gebruik van hop pellets.' });
 	$("#factor_plug").jqxTooltip({ content: 'Het efficientie percentage bij gebruik van hop plugs.' });
+	$("#factor_wethop").jqxTooltip({ content: 'Het efficientie percentage bij gebruik van nat geplukte hop.' });
 	$("#brix_correction").jqxTooltip({ content: 'Omzettingsfactor voor Plato naar Brix' });
 	$("#grain_absorbtion").jqxTooltip({ content: 'Absorbtie van water door graan (L/Kg)' });
 
@@ -59,6 +60,7 @@
 			{ name: 'factor_fwh', type: 'number' },
 			{ name: 'factor_pellet', type: 'number' },
 			{ name: 'factor_plug', type: 'number' },
+			{ name: 'factor_wethop', type: 'number' },
 			{ name: 'ibu_method', type: 'int' },
 			{ name: 'color_method', type: 'int' },
 			{ name: 'brix_correction', type: 'float' },
@@ -78,6 +80,7 @@
 			$("#factor_fwh").val(dataRecord.factor_fwh);
 			$("#factor_pellet").val(dataRecord.factor_pellet);
 			$("#factor_plug").val(dataRecord.factor_plug);
+			$("#factor_wethop").val(dataRecord.factor_wethop);
 			$("#color_method").val(dataRecord.color_method);
 			$("#ibu_method").val(dataRecord.ibu_method);
 			$("#brix_correction").val(dataRecord.brix_correction);
@@ -94,6 +97,7 @@
 	$("#factor_mashhop").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: -50, max: 50, decimalDigits: 0, spinButtons: true, symbol: '%', symbolPosition: 'right'  });
 	$("#factor_pellet").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 20, decimalDigits: 0, spinButtons: true, symbol: '%', symbolPosition: 'right'  });
 	$("#factor_plug").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 20, decimalDigits: 0, spinButtons: true, symbol: '%', symbolPosition: 'right'  });
+	$("#factor_wethop").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: -98, max: -20, decimalDigits: 0, spinButtons: true, symbol: '%', symbolPosition: 'right'  });
 	$("#brix_correction").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: 1.00, max: 1.05, decimalDigits: 2, spinButtons: true });
 	$("#grain_absorbtion").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0.5, max: 1.1, decimalDigits: 2, spinButtons: true });
 	$("#color_method").jqxDropDownList({
@@ -134,6 +138,7 @@
 			factor_fwh: $("#factor_fwh").val(),
 			factor_pellet: $("#factor_pellet").val(),
 			factor_plug: $("#factor_plug").val(),
+			factor_wethop: $("#factor_wethop").val(),
 			color_method: $("#color_method").val(),
 			ibu_method: $("#ibu_method").val(),
 			brix_correction: parseFloat($("#brix_correction").jqxNumberInput('decimal')),

mercurial