www/js/prod_edit.js

branch
stable
changeset 520
d25a1b160dba
parent 518
00e110567fee
child 525
8bbc5730aaa8
equal deleted inserted replaced
493:9e43b216ccd3 520:d25a1b160dba
303 { name: 'prop2_volume', type: 'float' }, 303 { name: 'prop2_volume', type: 'float' },
304 { name: 'prop3_type', type: 'int' }, 304 { name: 'prop3_type', type: 'int' },
305 { name: 'prop3_volume', type: 'float' }, 305 { name: 'prop3_volume', type: 'float' },
306 { name: 'prop4_type', type: 'int' }, 306 { name: 'prop4_type', type: 'int' },
307 { name: 'prop4_volume', type: 'float' }, 307 { name: 'prop4_volume', type: 'float' },
308 { name: 'divide_type', type: 'int' },
309 { name: 'divide_size', type: 'float' },
310 { name: 'divide_parts', type: 'int' },
308 { name: 'fermentables', type: 'array' }, 311 { name: 'fermentables', type: 'array' },
309 { name: 'hops', type: 'array' }, 312 { name: 'hops', type: 'array' },
310 { name: 'miscs', type: 'array' }, 313 { name: 'miscs', type: 'array' },
311 { name: 'yeasts', type: 'array' }, 314 { name: 'yeasts', type: 'array' },
312 { name: 'mashs', type: 'array' } 315 { name: 'mashs', type: 'array' }
528 $('#prop2_volume').val(dataRecord.prop2_volume); 531 $('#prop2_volume').val(dataRecord.prop2_volume);
529 $('#prop3_type').val(dataRecord.prop3_type); 532 $('#prop3_type').val(dataRecord.prop3_type);
530 $('#prop3_volume').val(dataRecord.prop3_volume); 533 $('#prop3_volume').val(dataRecord.prop3_volume);
531 $('#prop4_type').val(dataRecord.prop4_type); 534 $('#prop4_type').val(dataRecord.prop4_type);
532 $('#prop4_volume').val(dataRecord.prop4_volume); 535 $('#prop4_volume').val(dataRecord.prop4_volume);
536 $('#divide_type').val(SplitData[dataRecord.divide_type].nl);
537 // hidden divide_size
538 $('#divide_parts').val(dataRecord.divide_parts);
533 editFermentable(dataRecord); 539 editFermentable(dataRecord);
534 editHop(dataRecord); 540 editHop(dataRecord);
535 editMisc(dataRecord); 541 editMisc(dataRecord);
536 editYeast(dataRecord); 542 editYeast(dataRecord);
537 editMash(dataRecord); 543 editMash(dataRecord);
1395 { text: 'Hoeveel', datafield: 'y_amount', width: 90, align: 'right', 1401 { text: 'Hoeveel', datafield: 'y_amount', width: 90, align: 'right',
1396 cellsrenderer: function(index, datafield, value, defaultvalue, column, rowdata) { 1402 cellsrenderer: function(index, datafield, value, defaultvalue, column, rowdata) {
1397 var amount = dataAdapter.formatNumber(value * 1000, 'f0') + ' ml'; 1403 var amount = dataAdapter.formatNumber(value * 1000, 'f0') + ' ml';
1398 if (rowdata.y_form == 0) // Liquid 1404 if (rowdata.y_form == 0) // Liquid
1399 amount = dataAdapter.formatNumber(value, 'f0') + ' pk'; 1405 amount = dataAdapter.formatNumber(value, 'f0') + ' pk';
1400 else if (rowdata.y_form == 1) // Dry 1406 else if (rowdata.y_form == 1 || rowdata.y_form == 6) // Dry
1401 amount = dataAdapter.formatNumber(value * 1000, 'f1') + ' gr'; 1407 amount = dataAdapter.formatNumber(value * 1000, 'f1') + ' gr';
1402 return '<span style="margin: 4px; margin-top: 6px; float: right;">' + amount + '</span>'; 1408 return '<span style="margin: 4px; margin-top: 6px; float: right;">' + amount + '</span>';
1403 } 1409 }
1404 }, 1410 },
1405 { text: 'Voorraad', datafield: 'y_inventory', width: 90, align: 'right', 1411 { text: 'Voorraad', datafield: 'y_inventory', width: 90, align: 'right',
1413 if (value < rowdata.y_amount) 1419 if (value < rowdata.y_amount)
1414 color = '#ff4040'; 1420 color = '#ff4040';
1415 amount = dataAdapter.formatNumber(value * 1000, 'f0') + ' ml'; 1421 amount = dataAdapter.formatNumber(value * 1000, 'f0') + ' ml';
1416 if (rowdata.y_form == 0) // Liquid 1422 if (rowdata.y_form == 0) // Liquid
1417 amount = dataAdapter.formatNumber(value, 'f0') + ' pk'; 1423 amount = dataAdapter.formatNumber(value, 'f0') + ' pk';
1418 else if (rowdata.y_form == 1) // Dry 1424 else if (rowdata.y_form == 1 || rowdata.y_form == 6) // Dry
1419 amount = dataAdapter.formatNumber(value * 1000, 'f1') + ' gr'; 1425 amount = dataAdapter.formatNumber(value * 1000, 'f1') + ' gr';
1420 return '<span style="margin: 4px; margin-top: 6px; float: right; color: ' + color + ';">' + amount + '</span>'; 1426 return '<span style="margin: 4px; margin-top: 6px; float: right; color: ' + color + ';">' + amount + '</span>';
1421 } else { 1427 } else {
1422 return '<span></span>'; 1428 return '<span></span>';
1423 } 1429 }
1434 yeastData = $('#yeastGrid').jqxGrid('getrowdata', yeastRow); 1440 yeastData = $('#yeastGrid').jqxGrid('getrowdata', yeastRow);
1435 if (yeastData.y_form == 0) { 1441 if (yeastData.y_form == 0) {
1436 $('#wy_pmpt_amount').html('Pak(ken):'); 1442 $('#wy_pmpt_amount').html('Pak(ken):');
1437 $('#wy_amount').val(yeastData.y_amount); 1443 $('#wy_amount').val(yeastData.y_amount);
1438 $('#wy_amount').jqxNumberInput({ decimalDigits: 0 }); 1444 $('#wy_amount').jqxNumberInput({ decimalDigits: 0 });
1439 } else if (yeastData.y_form == 1) { 1445 } else if (yeastData.y_form == 1 || yeastData.y_form == 6) {
1440 $('#wy_pmpt_amount').html('Gewicht gram:'); 1446 $('#wy_pmpt_amount').html('Gewicht gram:');
1441 $('#wy_amount').val(yeastData.y_amount * 1000); 1447 $('#wy_amount').val(yeastData.y_amount * 1000);
1442 $('#wy_amount').jqxNumberInput({ decimalDigits: 1 }); 1448 $('#wy_amount').jqxNumberInput({ decimalDigits: 1 });
1443 } else { 1449 } else {
1444 $('#wy_pmpt_amount').html('Volume ml:'); 1450 $('#wy_pmpt_amount').html('Volume ml:');
2087 egrams = (dataRecord.starter_sg - 1) * svol * gperpoint, 2093 egrams = (dataRecord.starter_sg - 1) * svol * gperpoint,
2088 grate = getGrowthRate(stype, start, egrams), 2094 grate = getGrowthRate(stype, start, egrams),
2089 ncells = Round(egrams * grate, 1), 2095 ncells = Round(egrams * grate, 1),
2090 totcells = parseFloat(ncells) + start; 2096 totcells = parseFloat(ncells) + start;
2091 2097
2092 console.log('svol:' + svol + ' start:' + start + ' irate:' + irate + ' egrams:' + egrams + ' grate:' + grate + ' ncells:' + ncells); 2098 //console.log('svol:' + svol + ' start:' + start + ' irate:' + irate + ' egrams:' + egrams + ' grate:' + grate + ' ncells:' + ncells);
2093 return { 2099 return {
2094 svol: svol, 2100 svol: svol,
2095 irate: irate, 2101 irate: irate,
2096 prate: Round(prate, 1), 2102 prate: Round(prate, 1),
2097 ncells: ncells, 2103 ncells: ncells,
2346 pitchrate = 1.0; 2352 pitchrate = 1.0;
2347 // if (dataRecord.est_og > 1.076) 2353 // if (dataRecord.est_og > 1.076)
2348 // pitchrate = 1.25; // Wyeast labs. http://www.wyeastlab.com/hb_pitchrates.cfm 2354 // pitchrate = 1.25; // Wyeast labs. http://www.wyeastlab.com/hb_pitchrates.cfm
2349 if (row.y_type == 0) // lager yeast 2355 if (row.y_type == 0) // lager yeast
2350 pitchrate *= 2; 2356 pitchrate *= 2;
2357 if (row.y_type == 6) // Kveik
2358 pitchrate = 0.25; // Who knows.
2351 2359
2352 // if (row.y_form == 1) { // dry yeast 2360 // if (row.y_form == 1) { // dry yeast
2353 // } else { // possible starter needed 2361 // } else { // possible starter needed
2354 // } 2362 // }
2355 } 2363 }
2356 } 2364 }
2357 needed = pitchrate * volume * plato; 2365 needed = Round(pitchrate * volume * plato, 1);
2358 console.log('calcYeast() pitchrate:' + pitchrate + ' start:' + initcells + ' needed:' + needed + ' volume:' + volume); 2366 console.log('calcYeast() pitchrate:' + pitchrate + ' start:' + initcells + ' needed:' + needed + ' volume:' + volume);
2359 $('#need_cells').val(needed); 2367 $('#need_cells').val(needed);
2360 use_cells = initcells; 2368 use_cells = initcells;
2361 2369
2362 if (dataRecord.starter_enable) { 2370 if (dataRecord.starter_enable) {
2464 var row, i, amount, rowscount = $('#yeastGrid').jqxGrid('getdatainformation').rowscount; 2472 var row, i, amount, rowscount = $('#yeastGrid').jqxGrid('getdatainformation').rowscount;
2465 if (rowscount == 0) 2473 if (rowscount == 0)
2466 return; 2474 return;
2467 for (i = 0; i < rowscount; i++) { 2475 for (i = 0; i < rowscount; i++) {
2468 row = $('#yeastGrid').jqxGrid('getrowdata', i); 2476 row = $('#yeastGrid').jqxGrid('getrowdata', i);
2469 if (row.y_form == 1) { // Only adjust dry yeast 2477 if (! dataRecord.starter_enable) { // Only adjust without a starter
2470 amount = row.y_amount * factor; 2478 amount = row.y_amount * factor;
2471 $('#yeastGrid').jqxGrid('setcellvalue', i, 'y_amount', amount); 2479 $('#yeastGrid').jqxGrid('setcellvalue', i, 'y_amount', amount);
2472 } 2480 }
2473 } 2481 }
2474 calcYeast(); 2482 calcYeast();
2712 pH -= deltapH; 2720 pH -= deltapH;
2713 else if (pd > deltapd) 2721 else if (pd > deltapd)
2714 pH += deltapH; 2722 pH += deltapH;
2715 pd = ProtonDeficit(pH); 2723 pd = ProtonDeficit(pH);
2716 } 2724 }
2717 console.log('MashpH() n: ' + n + ' pH: ' + pH); 2725 pH = Round(pH, 2);
2726 //console.log('MashpH() n: ' + n + ' pH: ' + pH);
2718 return pH; 2727 return pH;
2719 } 2728 }
2720 2729
2721 function GetAcidSpecs(AT) { 2730 function GetAcidSpecs(AT) {
2722 switch (AT) { 2731 switch (AT) {
2731 } 2740 }
2732 } 2741 }
2733 2742
2734 function calcWater() { 2743 function calcWater() {
2735 2744
2736 console.log('calcWater()'); 2745 //console.log('calcWater()');
2737 var liters = 0, 2746 var liters = 0,
2738 calcium = 0, 2747 calcium = 0,
2739 magnesium = 0, 2748 magnesium = 0,
2740 sodium = 0, 2749 sodium = 0,
2741 total_alkalinity = 0, 2750 total_alkalinity = 0,
2850 AcidPrc = result.AcidPrc; 2859 AcidPrc = result.AcidPrc;
2851 2860
2852 if (dataRecord.calc_acid) { 2861 if (dataRecord.calc_acid) {
2853 TpH = parseFloat(dataRecord.mash_ph); 2862 TpH = parseFloat(dataRecord.mash_ph);
2854 protonDeficit = ProtonDeficit(TpH); 2863 protonDeficit = ProtonDeficit(TpH);
2855 console.log('calc_acid tgt: ' + TpH + ' protonDeficit: ' + protonDeficit); 2864 //console.log('calc_acid tgt: ' + TpH + ' protonDeficit: ' + protonDeficit);
2856 if (protonDeficit > 0) { // Add acid 2865 if (protonDeficit > 0) { // Add acid
2857 $('#wa_base').val(0); 2866 $('#wa_base').val(0);
2858 setWaterAgent(last_base, 0); 2867 setWaterAgent(last_base, 0);
2859 frac = CalcFrac(TpH, pK1, pK2, pK3); 2868 frac = CalcFrac(TpH, pK1, pK2, pK3);
2860 Acid = protonDeficit / frac; 2869 Acid = protonDeficit / frac;
2862 Acidmg = Acid; 2871 Acidmg = Acid;
2863 Acid = Acid / AcidSG; // ml 2872 Acid = Acid / AcidSG; // ml
2864 2873
2865 if (parseFloat($('#wa_acid_perc').jqxNumberInput('decimal')) == 0) 2874 if (parseFloat($('#wa_acid_perc').jqxNumberInput('decimal')) == 0)
2866 $('#wa_acid_perc').val(AcidPrc); 2875 $('#wa_acid_perc').val(AcidPrc);
2867 Acid = Acid * AcidPrc / (parseFloat($('#wa_acid_perc').jqxNumberInput('decimal')) / 100); // ml 2876 Acid = Round(Acid * AcidPrc / (parseFloat($('#wa_acid_perc').jqxNumberInput('decimal')) / 100), 2); // ml
2868 console.log('Final ml: ' + Acid); 2877 //console.log('Final ml: ' + Acid);
2869 $('#wa_acid').val(Round(Acid, 2)); 2878 $('#wa_acid').val(Acid);
2870 setWaterAgent(AcidTypeData[AT].nl, Round(Acid, 2)); 2879 setWaterAgent(AcidTypeData[AT].nl, Acid);
2871 2880
2872 bicarbonate = bicarbonate - protonDeficit * frac / liters; 2881 bicarbonate = bicarbonate - protonDeficit * frac / liters;
2873 total_alkalinity = bicarbonate * 50 / 61; 2882 total_alkalinity = bicarbonate * 50 / 61;
2874 } else if (protonDeficit < 0) { //Add base 2883 } else if (protonDeficit < 0) { //Add base
2875 $('#wa_acid').val(0); 2884 $('#wa_acid').val(0);
4366 prop2_volume: parseFloat($('#prop2_volume').jqxNumberInput('decimal')), 4375 prop2_volume: parseFloat($('#prop2_volume').jqxNumberInput('decimal')),
4367 prop3_type: $('#prop3_type').val(), 4376 prop3_type: $('#prop3_type').val(),
4368 prop3_volume: parseFloat($('#prop3_volume').jqxNumberInput('decimal')), 4377 prop3_volume: parseFloat($('#prop3_volume').jqxNumberInput('decimal')),
4369 prop4_type: $('#prop4_type').val(), 4378 prop4_type: $('#prop4_type').val(),
4370 prop4_volume: parseFloat($('#prop4_volume').jqxNumberInput('decimal')), 4379 prop4_volume: parseFloat($('#prop4_volume').jqxNumberInput('decimal')),
4380 divide_type: dataRecord.divide_type,
4381 divide_size: dataRecord.divide_size,
4382 divide_parts: dataRecord.divide_parts,
4371 fermentables: $('#fermentableGrid').jqxGrid('getrows'), 4383 fermentables: $('#fermentableGrid').jqxGrid('getrows'),
4372 hops: $('#hopGrid').jqxGrid('getrows'), 4384 hops: $('#hopGrid').jqxGrid('getrows'),
4373 miscs: $('#miscGrid').jqxGrid('getrows'), 4385 miscs: $('#miscGrid').jqxGrid('getrows'),
4374 yeasts: $('#yeastGrid').jqxGrid('getrows'), 4386 yeasts: $('#yeastGrid').jqxGrid('getrows'),
4375 mashs: $('#mashGrid').jqxGrid('getrows') 4387 mashs: $('#mashGrid').jqxGrid('getrows')
4386 console.log('saveRecord(' + goback + ') success'); 4398 console.log('saveRecord(' + goback + ') success');
4387 if (goback) 4399 if (goback)
4388 window.location.href = my_return; 4400 window.location.href = my_return;
4389 else 4401 else
4390 window.location.href = 4402 window.location.href =
4391 'prod_export.php?record=' + my_record + '&return=' + my_return + '&select=' + my_select + '&code=' + dataRecord.code + '&name=' + dataRecord.name; 4403 'prod_export.php?record=' + my_record + '&return=' + my_return + '&select=' + my_select + '&code=' + dataRecord.code + '&name=' + dataRecord.name +
4404 '&stage=' + dataRecord.stage + '&split=' + dataRecord.divide_type;
4392 }, 4405 },
4393 error: function(jqXHR, textStatus, errorThrown) { 4406 error: function(jqXHR, textStatus, errorThrown) {
4394 console.log('saveRecord() ' + textStatus); 4407 console.log('saveRecord() ' + textStatus);
4395 } 4408 }
4396 }); 4409 });
4421 dataRecord.locked = 0; 4434 dataRecord.locked = 0;
4422 dataRecord.stage = 10; 4435 dataRecord.stage = 10;
4423 calcStage(); 4436 calcStage();
4424 } 4437 }
4425 }); 4438 });
4439 $('#divide_parts').jqxTooltip({ content: 'Het aantal gesplitste brouw producten.' });
4440 $('#divide_parts').jqxNumberInput(Show0dec);
4441 $('#divide_type').jqxTooltip({ content: 'Het splitsing moment in het productie proces.' });
4442 $('#divide_type').jqxInput({ theme: theme, width: 120, height: 23 });
4443
4426 $('#notes').jqxTooltip({ content: 'De uitgebreide opmerkingen over dit product.' }); 4444 $('#notes').jqxTooltip({ content: 'De uitgebreide opmerkingen over dit product.' });
4427 $('#notes').jqxInput({ theme: theme, width: 960, height: 100 }); 4445 $('#notes').jqxInput({ theme: theme, width: 960, height: 100 });
4428 $('#type').jqxTooltip({ content: 'Het brouw type van dit recept.' }); 4446 $('#type').jqxTooltip({ content: 'Het brouw type van dit recept.' });
4429 $('#type').jqxDropDownList({ 4447 $('#type').jqxDropDownList({
4430 theme: theme, 4448 theme: theme,
5154 // Tab 6, Yeasts 5172 // Tab 6, Yeasts
5155 $('#est_fg2').jqxTooltip({ content: 'Het verwachte eind SG. Dit wordt automatisch berekend.' }); 5173 $('#est_fg2').jqxTooltip({ content: 'Het verwachte eind SG. Dit wordt automatisch berekend.' });
5156 $('#est_fg2').jqxNumberInput(Show3dec); 5174 $('#est_fg2').jqxNumberInput(Show3dec);
5157 $('#est_abv2').jqxTooltip({ content: 'Alcohol volume %. Dit wordt automatisch berekend.' }); 5175 $('#est_abv2').jqxTooltip({ content: 'Alcohol volume %. Dit wordt automatisch berekend.' });
5158 $('#est_abv2').jqxNumberInput(Smal1dec); 5176 $('#est_abv2').jqxNumberInput(Smal1dec);
5177 $('#yeast_cells').jqxTooltip({ content: 'Het aantal beschikbare gistcellen zonder eventuele starter.' });
5159 $('#yeast_cells').jqxNumberInput(Show1dec); 5178 $('#yeast_cells').jqxNumberInput(Show1dec);
5179 $('#need_cells').jqxTooltip({ content: 'Het aantal nodige cellen is afhankelijk van het biertype.' });
5160 $('#need_cells').jqxNumberInput(Show1dec); 5180 $('#need_cells').jqxNumberInput(Show1dec);
5181 $('#plato_cells').jqxTooltip({ content: 'De berekende hoeveelheid gistcellen in miljard per ml per graad Plato. Dit is de zogenaamde pitchrate.' });
5161 $('#plato_cells').jqxNumberInput(Show2dec); 5182 $('#plato_cells').jqxNumberInput(Show2dec);
5162 $('#popupYeast').jqxWindow({ 5183 $('#popupYeast').jqxWindow({
5163 width: 800, 5184 width: 800,
5164 height: 300, 5185 height: 300,
5165 position: { x: 230, y: 100 }, 5186 position: { x: 230, y: 100 },
5237 yeastData.y_attenuation = datarecord.attenuation; 5258 yeastData.y_attenuation = datarecord.attenuation;
5238 yeastData.y_cells = datarecord.cells; 5259 yeastData.y_cells = datarecord.cells;
5239 yeastData.y_inventory = datarecord.inventory; 5260 yeastData.y_inventory = datarecord.inventory;
5240 if (yeastData.y_form == 0) { 5261 if (yeastData.y_form == 0) {
5241 $('#wy_pmpt_amount').html('Pak(ken):'); 5262 $('#wy_pmpt_amount').html('Pak(ken):');
5242 } else if (yeastData.y_form == 1) { 5263 } else if (yeastData.y_form == 1 || yeastData.y_form == 6) {
5243 $('#wy_pmpt_amount').html('Gewicht gram:'); 5264 $('#wy_pmpt_amount').html('Gewicht gram:');
5244 } else { 5265 } else {
5245 $('#wy_pmpt_amount').html('Volume ml:'); 5266 $('#wy_pmpt_amount').html('Volume ml:');
5246 } 5267 }
5247 calcFermentables(); 5268 calcFermentables();
5284 width: 120, 5305 width: 120,
5285 height: 23, 5306 height: 23,
5286 autoDropDownHeight: true 5307 autoDropDownHeight: true
5287 }); 5308 });
5288 $('#prop' + i + '_type').hide(); 5309 $('#prop' + i + '_type').hide();
5310 $('#prop' + i + '_volume').jqxTooltip({ content: 'Het volume van deze starter stap.' });
5289 $('#prop' + i + '_volume').jqxNumberInput(Spin3dec); 5311 $('#prop' + i + '_volume').jqxNumberInput(Spin3dec);
5290 $('#prop' + i + '_volume').hide(); 5312 $('#prop' + i + '_volume').hide();
5313 $('#prop' + i + '_irate').jqxTooltip({ content: 'Voor de beste gistgroei, houd de injectie factor tussen de 25 en 100 miljoen cellen per ml.' });
5291 $('#prop' + i + '_irate').jqxNumberInput(Show1dec); 5314 $('#prop' + i + '_irate').jqxNumberInput(Show1dec);
5292 $('#prop' + i + '_irate').hide(); 5315 $('#prop' + i + '_irate').hide();
5316 $('#prop' + i + '_ncells').jqxTooltip({ content: 'Het aantal miljard nieuwe gistcellen in deze stap.' });
5293 $('#prop' + i + '_ncells').jqxNumberInput(Show1dec); 5317 $('#prop' + i + '_ncells').jqxNumberInput(Show1dec);
5294 $('#prop' + i + '_ncells').hide(); 5318 $('#prop' + i + '_ncells').hide();
5319 $('#prop' + i + '_tcells').jqxTooltip({ content: 'Het totaal aantal miljard gistcellen na deze stap.' });
5295 $('#prop' + i + '_tcells').jqxNumberInput(Show1dec); 5320 $('#prop' + i + '_tcells').jqxNumberInput(Show1dec);
5296 $('#prop' + i + '_tcells').hide(); 5321 $('#prop' + i + '_tcells').hide();
5322 $('#prop' + i + '_growf').jqxTooltip({ content: 'De groeifactor, minstens 1. Ongeroerde starters komen meestal niet boven de 3.' });
5297 $('#prop' + i + '_growf').jqxNumberInput(Show2dec); 5323 $('#prop' + i + '_growf').jqxNumberInput(Show2dec);
5298 $('#prop' + i + '_growf').hide(); 5324 $('#prop' + i + '_growf').hide();
5299 } 5325 }
5300 $('#starter_enable').jqxCheckBox({ theme: theme, height: 23 }); 5326 $('#starter_enable').jqxCheckBox({ theme: theme, height: 23 });
5301 $('#starter_type').jqxDropDownList({ 5327 $('#starter_type').jqxDropDownList({
5305 displayMember: 'nl', 5331 displayMember: 'nl',
5306 width: 120, 5332 width: 120,
5307 height: 23, 5333 height: 23,
5308 autoDropDownHeight: true 5334 autoDropDownHeight: true
5309 }); 5335 });
5336 $('#starter_sg').jqxTooltip({ content: 'Het ideale starter SG moet tussen de 1.030 en 1.040 zijn. Optimaal is 1.037.' });
5310 $('#starter_sg').jqxNumberInput(SGopts); 5337 $('#starter_sg').jqxNumberInput(SGopts);
5338 $('#starter_viability').jqxTooltip({ content: 'De gist conditie te berekenen vanaf de productie datum. Vloeibare gist verlist iedere maand ongeveer 20% active cellen.' });
5311 $('#starter_viability').jqxNumberInput(Perc0); 5339 $('#starter_viability').jqxNumberInput(Perc0);
5312 $('#starter_try').jqxButton({ template: 'primary', width: '100px', height: 23, theme: theme }); 5340 $('#starter_try').jqxButton({ template: 'primary', width: '100px', height: 23, theme: theme });
5313 5341
5314 // Tab 7, Mashing 5342 // Tab 7, Mashing
5315 $('#mash_name').jqxTooltip({ content: 'De omschrijving van dit maisch profiel.' }); 5343 $('#mash_name').jqxTooltip({ content: 'De omschrijving van dit maisch profiel.' });

mercurial