144 st_carb_max: parseFloat($("#st_carb_max").jqxNumberInput('decimal')), |
144 st_carb_max: parseFloat($("#st_carb_max").jqxNumberInput('decimal')), |
145 st_abv_min: parseFloat($("#st_abv_min").jqxNumberInput('decimal')), |
145 st_abv_min: parseFloat($("#st_abv_min").jqxNumberInput('decimal')), |
146 st_abv_max: parseFloat($("#st_abv_max").jqxNumberInput('decimal')), |
146 st_abv_max: parseFloat($("#st_abv_max").jqxNumberInput('decimal')), |
147 type: $("#type").val(), |
147 type: $("#type").val(), |
148 batch_size: 20.0, |
148 batch_size: 20.0, |
|
149 boil_size: 22.0, |
149 boil_time: parseFloat($("#boil_time").jqxNumberInput('decimal')), |
150 boil_time: parseFloat($("#boil_time").jqxNumberInput('decimal')), |
150 efficiency: parseFloat($("#efficiency").jqxNumberInput('decimal')), |
151 efficiency: parseFloat($("#efficiency").jqxNumberInput('decimal')), |
151 est_og: parseFloat($("#est_og").jqxNumberInput('decimal')), |
152 est_og: parseFloat($("#est_og").jqxNumberInput('decimal')), |
152 est_fg: 1.000, |
153 est_fg: 1.000, |
153 est_color: 0, |
154 est_color: 0, |
156 color_method: "Morey", |
157 color_method: "Morey", |
157 est_ibu: 0, |
158 est_ibu: 0, |
158 ibu_method: "Tinseth", |
159 ibu_method: "Tinseth", |
159 mash_name: "", |
160 mash_name: "", |
160 mash_ph: 5.4, |
161 mash_ph: 5.4, |
161 mash_sparge_temp: 78.0 |
162 sparge_temp: 78.0, |
|
163 sparge_volume: 12.0, |
|
164 sparge_ph: 5.8, |
|
165 sparge_source: 'Bron 1', |
|
166 sparge_acid_type: 'Melkzuur', |
|
167 sparge_acid_perc: 80, |
|
168 sparge_acid_amount: 0, |
|
169 calc_acid: true |
162 }; |
170 }; |
163 var data = "insert=true&return=" + my_return + "&" + $.param(newrow); |
171 var data = "insert=true&return=" + my_return + "&" + $.param(newrow); |
164 $.ajax({ |
172 $.ajax({ |
165 dataType: 'json', |
173 dataType: 'json', |
166 url: "includes/db_recipes.php", |
174 url: "includes/db_recipes.php", |