diff -r df678aa03f4a -r dabe1c854a0f www/js/prod_edit.js --- a/www/js/prod_edit.js Mon Oct 28 13:44:12 2019 +0100 +++ b/www/js/prod_edit.js Mon Oct 28 19:55:42 2019 +0100 @@ -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); @@ -4412,7 +4416,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'), @@ -4469,7 +4475,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 });