diff -r b9055393b802 -r 47b592993dd5 www/js/prod_edit.js --- a/www/js/prod_edit.js Sat Aug 24 21:52:46 2019 +0200 +++ b/www/js/prod_edit.js Sun Aug 25 13:22:00 2019 +0200 @@ -2062,6 +2062,7 @@ $("#package_infuse_amount").jqxNumberInput({ spinButtons: false, readOnly: true, width: 90 }); $("#package_infuse_abv").jqxNumberInput({ spinButtons: false, readOnly: true, width: 90 }); $("#package_infuse_notes").jqxInput({ disabled: true }); + $("#package_ph").jqxNumberInput({ spinButtons: false, readOnly: true, width: 90 }); $("#bottle_amount").jqxNumberInput({ spinButtons: false, readOnly: true, width: 90 }); $("#bottle_priming_water").jqxNumberInput({ spinButtons: false, readOnly: true, width: 90 }); $("#keg_priming_water").jqxNumberInput({ spinButtons: false, readOnly: true, width: 90 }); @@ -2746,6 +2747,7 @@ package_infuse_abv: parseFloat($("#package_infuse_abv").jqxNumberInput('decimal')), package_infuse_notes: $("#package_infuse_notes").val(), package_abv: parseFloat($("#package_abv").jqxNumberInput('decimal')), + package_ph: parseFloat($("#package_ph").jqxNumberInput('decimal')), bottle_amount: parseFloat($("#bottle_amount").jqxNumberInput('decimal')), bottle_carbonation: parseFloat($("#bottle_carbonation").jqxNumberInput('decimal')), bottle_priming_water: parseFloat($("#bottle_priming_water").jqxNumberInput('decimal')), @@ -2973,6 +2975,7 @@ { name: 'package_infuse_abv', type: 'float' }, { name: 'package_infuse_notes', type: 'string' }, { name: 'package_abv', type: 'float' }, + { name: 'package_ph', type: 'float' }, { name: 'bottle_amount', type: 'float' }, { name: 'bottle_carbonation', type: 'float' }, { name: 'bottle_priming_water', type: 'float' }, @@ -3183,6 +3186,7 @@ $("#package_infuse_abv").val(dataRecord.package_infuse_abv); $("#package_infuse_notes").val(dataRecord.package_infuse_notes); $("#package_abv").val(dataRecord.package_abv); + $("#package_ph").val(dataRecord.package_ph); $("#bottle_amount").val(dataRecord.bottle_amount); $("#bottle_carbonation").val(dataRecord.bottle_carbonation); $("#bottle_priming_water").val(dataRecord.bottle_priming_water); @@ -5803,6 +5807,8 @@ $('#package_infuse_notes').jqxInput({ theme: theme, width: 640, height: 23 }); $('#package_abv').jqxTooltip({ content: 'De uiteindelijke hoeveelheid alcohol volume %.' }); $('#package_abv').jqxNumberInput( Show1dec ); + $('#package_ph').jqxTooltip({ content: 'De gemeten pH vlak voor het verpakken.' }); + $('#package_ph').jqxNumberInput( SpinpH ); $("#st_carb_min2").jqxTooltip({ content: 'Het minimum aanbevolen koolzuur volume voor deze bierstijl.'}); $("#st_carb_min2").jqxNumberInput(Smal1dec); $("#st_carb_max2").jqxTooltip({ content: 'Het maximum aamnevolen koolzuur volume voor deze bierstijl.'});