diff -r d77b723f7b35 -r 12f9316de113 www/js/prod_new.js --- a/www/js/prod_new.js Wed Jul 15 16:03:23 2020 +0200 +++ b/www/js/prod_new.js Mon Jul 20 15:48:46 2020 +0200 @@ -272,7 +272,7 @@ eq_trub_chiller_loss: parseFloat($('#eq_trub_chiller_loss').jqxNumberInput('decimal')), eq_evap_rate: parseFloat($('#eq_evap_rate').jqxNumberInput('decimal')), eq_boil_time: parseFloat($('#eq_boil_time').jqxNumberInput('decimal')), - eq_calc_boil_volume: $('#eq_calc_boil_volume').val(), + eq_calc_boil_volume: $('#eq_calc_boil_volume').val() ?1:0, eq_top_up_kettle: parseFloat($('#eq_top_up_kettle').jqxNumberInput('decimal')), eq_hop_utilization: parseFloat($('#eq_hop_utilization').jqxNumberInput('decimal')), eq_notes: $('#eq_notes').val(), @@ -327,6 +327,7 @@ primary_end_date: '', secondary_temp: 0, secondary_end_date: '', + secondary_end_sg: 0, tertiary_temp: 0, package_date: '', package_volume: 0, @@ -362,7 +363,7 @@ st_guide: $('#st_guide').val(), st_type: style_type, st_category: $('#st_category').val(), - st_category_number: parseFloat($('#st_category_number').jqxNumberInput('decimal')), + st_category_number: $('#st_category_number').val(), st_og_min: parseFloat($('#st_og_min').jqxNumberInput('decimal')), st_og_max: parseFloat($('#st_og_max').jqxNumberInput('decimal')), st_fg_min: parseFloat($('#st_fg_min').jqxNumberInput('decimal')), @@ -381,6 +382,7 @@ boil_time: parseFloat($('#eq_boil_time').jqxNumberInput('decimal')), efficiency: parseFloat($('#eq_efficiency').jqxNumberInput('decimal')), est_og: 0.000, + est_og3: 0.000, est_fg: 0.000, est_color: 0, est_abv: 0.0,