diff -r d8f4ca915468 -r be8691b7d634 www/js/prod_edit.js --- a/www/js/prod_edit.js Mon Oct 21 14:39:49 2019 +0200 +++ b/www/js/prod_edit.js Wed Oct 23 14:20:50 2019 +0200 @@ -307,7 +307,9 @@ { name: 'prop4_volume', type: 'float' }, { name: 'divide_type', type: 'int' }, { name: 'divide_size', type: 'float' }, + { name: 'divide_factor', type: 'float' }, { name: 'divide_parts', type: 'int' }, + { name: 'divide_part', type: 'int' }, { name: 'fermentables', type: 'array' }, { name: 'hops', type: 'array' }, { name: 'miscs', type: 'array' }, @@ -535,7 +537,9 @@ $('#prop4_volume').val(dataRecord.prop4_volume); $('#divide_type').val(SplitData[dataRecord.divide_type].nl); // hidden divide_size + // hidden divide_factor $('#divide_parts').val(dataRecord.divide_parts); + // hidden divide_part editFermentable(dataRecord); editHop(dataRecord); editMisc(dataRecord); @@ -4379,7 +4383,9 @@ prop4_volume: parseFloat($('#prop4_volume').jqxNumberInput('decimal')), divide_type: dataRecord.divide_type, divide_size: dataRecord.divide_size, + divide_factor: dataRecord.divide_factor, divide_parts: dataRecord.divide_parts, + divide_part: dataRecord.divide_part, fermentables: $('#fermentableGrid').jqxGrid('getrows'), hops: $('#hopGrid').jqxGrid('getrows'), miscs: $('#miscGrid').jqxGrid('getrows'), @@ -4436,7 +4442,7 @@ calcStage(); } }); - $('#divide_parts').jqxTooltip({ content: 'Het aantal gesplitste brouw producten.' }); + $('#divide_parts').jqxTooltip({ content: 'Het aantal extra gesplitste brouw producten.' }); $('#divide_parts').jqxNumberInput(Show0dec); $('#divide_type').jqxTooltip({ content: 'Het splitsing moment in het productie proces.' }); $('#divide_type').jqxInput({ theme: theme, width: 120, height: 23 });