www/js/prod_edit.js

changeset 163
4a4cc3497a57
parent 162
45248acb6252
child 164
0a5abea575a9
equal deleted inserted replaced
162:45248acb6252 163:4a4cc3497a57
983 Acid = Math.round(Acid * 100) / 100; 983 Acid = Math.round(Acid * 100) / 100;
984 dataRecord.sparge_acid_amount = Acid / 1000; 984 dataRecord.sparge_acid_amount = Acid / 1000;
985 $("#sparge_acid_amount").val(Acid); 985 $("#sparge_acid_amount").val(Acid);
986 } 986 }
987 987
988 function CarbCO2toS(CO2, T, SFactor) {
989 // Calcuation of disolved CO2 in the beer.
990 // Brewersfriend uses: 3.0378 - (0.050062 * temp) + (0.00026555 * temp^2)
991 // Brouwhulp uses: 0.000849151 * T * T - 0.0587512 * T + 1.71137)
992 var sugar = SFactor * (CO2 - (0.000849151 * T * T - 0.0587512 * T + 1.71137)) / 0.286;
993 if (sugar < 0)
994 sugar = 0;
995 return sugar;
996 }
997
998 function CarbCO2ToPressure(CO2, T) {
999 return (CO2 - (-0.000005594056 * Math.pow(T, 4) + 0.000144357886 * Math.pow(T, 3) +
1000 0.000362999168 * T * T - 0.064872987645 * T + 1.641145175049)) /
1001 (0.00000498031 * Math.pow(T, 4) - 0.00024358267 * Math.pow(T, 3) +
1002 0.00385867329 * T * T - 0.05671206825 * T + 1.53801423376);
1003 }
1004
1005 function getSFactor(Sugar) {
1006 switch (Sugar) {
1007 case 'Kristalsuiker': return 1;
1008 case 'Glucose/dextrose': return 1.16;
1009 case 'Honing': return 1.28;
1010 case 'Moutextract': return 1.74;
1011 case 'Melasse': return 3.83;
1012 }
1013 return 1;
1014 }
1015
1016 function calcCarbonation() {
1017
1018 var TSec = dataRecord.secondary_temp; // End fermentation temperature.
1019 if (TSec < 1)
1020 TSec = dataRecord.primary_end_temp; // Fallback
1021 if (TSec < 1)
1022 TSec = 18; // Fallback to room temperature.
1023
1024 if (dataRecord.fg == 1.000)
1025 var ABV = abvol(dataRecord.brew_fermenter_sg, parseFloat($("#est_fg").jqxNumberInput('decimal')));
1026 else
1027 var ABV = abvol(dataRecord.brew_fermenter_sg, dataRecord.fg);
1028
1029 // Bottles
1030 var SFactor = getSFactor(dataRecord.bottle_priming_sugar);
1031 var Amount = CarbCO2toS(dataRecord.bottle_carbonation, TSec, SFactor);
1032 dataRecord.bottle_priming_amount = Amount;
1033 $("#bottle_priming_amount").val(Math.round(dataRecord.bottle_priming_amount * 10) / 10);
1034 $("#bottle_priming_total").val(Math.round(dataRecord.bottle_amount * dataRecord.bottle_priming_amount * 10) / 10);
1035 $("#bottle_abv").val(Math.round((ABV + Amount * 0.47 / 7.907) * 10) / 10);
1036
1037 // Kegs
1038 SFactor = getSFactor(dataRecord.keg_priming_sugar);
1039 Amount = CarbCO2toS(dataRecord.keg_carbonation, TSec, SFactor);
1040 var Pressure = CarbCO2ToPressure(dataRecord.keg_carbonation, dataRecord.keg_carbonation_temp);
1041 if (Pressure < 0)
1042 Pressure = 0;
1043 dataRecord.keg_pressure = Pressure;
1044 $("#keg_pressure").val(Math.round(Pressure * 10) / 10);
1045
1046 if (dataRecord.keg_forced_carb) {
1047 Amount = 0;
1048 dataRecord.keg_priming_amount = 0;
1049 $("#keg_priming_amount").val(0);
1050 $("#keg_priming_total").val(0);
1051 } else {
1052 dataRecord.keg_priming_amount = Amount;
1053 $("#keg_priming_amount").val(Math.round(dataRecord.keg_priming_amount * 10) / 10);
1054 $("#keg_priming_total").val(Math.round(dataRecord.keg_amount * dataRecord.keg_priming_amount * 10) / 10);
1055 }
1056
1057 $("#keg_abv").val(Math.round((ABV + Amount * 0.47 / 7.907) * 10) / 10);
1058 }
1059
988 function calcInit () { 1060 function calcInit () {
989 console.log("calc.init()"); 1061 console.log("calcInit()");
990 1062
991 calcSGendMash(); 1063 calcSGendMash();
992 calcMashEfficiency(); 1064 calcMashEfficiency();
993 1065
994 $("#calc_acid").on('checked', function (event) { 1066 $("#calc_acid").on('checked', function (event) {
1135 }); 1207 });
1136 $('#sparge_acid_perc').on('change', function (event) { 1208 $('#sparge_acid_perc').on('change', function (event) {
1137 dataRecord.sparge_acid_perc = parseFloat(event.args.value); 1209 dataRecord.sparge_acid_perc = parseFloat(event.args.value);
1138 calcSparge(); 1210 calcSparge();
1139 }); 1211 });
1212
1213 calcCarbonation();
1214 $('#bottle_amount').on('change', function (event) {
1215 dataRecord.bottle_amount = parseFloat(event.args.value);
1216 calcCarbonation();
1217 });
1218 $('#keg_amount').on('change', function (event) {
1219 dataRecord.keg_amount = parseFloat(event.args.value);
1220 calcCarbonation();
1221 });
1222 $('#bottle_carbonation').on('change', function (event) {
1223 dataRecord.bottle_carbonation = parseFloat(event.args.value);
1224 calcCarbonation();
1225 });
1226 $('#keg_carbonation').on('change', function (event) {
1227 dataRecord.keg_carbonation = parseFloat(event.args.value);
1228 calcCarbonation();
1229 });
1230 $('#bottle_priming_sugar').on('change', function (event) {
1231 dataRecord.bottle_priming_sugar = event.args.item.value;
1232 calcCarbonation();
1233 });
1234 $('#keg_priming_sugar').on('change', function (event) {
1235 dataRecord.keg_priming_sugar = event.args.item.value;
1236 calcCarbonation();
1237 });
1238 $("#keg_forced_carb").on('checked', function (event) {
1239 dataRecord.keg_forced_carb = true;
1240 calcCarbonation();
1241 });
1242 $("#keg_forced_carb").on('unchecked', function (event) {
1243 dataRecord.keg_forced_carb = false;
1244 calcCarbonation();
1245 });
1246 $('#keg_carbonation_temp').on('change', function (event) {
1247 dataRecord.keg_carbonation_temp = parseFloat(event.args.value);
1248 calcCarbonation();
1249 });
1140 }; 1250 };
1141 1251
1142 $("#styleSelect").jqxDropDownList({ 1252 $("#styleSelect").jqxDropDownList({
1143 placeHolder: "Kies bierstijl:", 1253 placeHolder: "Kies bierstijl:",
1144 theme: theme, 1254 theme: theme,
1171 $("#st_ibu_min").val(datarecord.ibu_min); 1281 $("#st_ibu_min").val(datarecord.ibu_min);
1172 $("#st_ibu_max").val(datarecord.ibu_max); 1282 $("#st_ibu_max").val(datarecord.ibu_max);
1173 $("#st_color_min").val(datarecord.color_min); 1283 $("#st_color_min").val(datarecord.color_min);
1174 $("#st_color_max").val(datarecord.color_max); 1284 $("#st_color_max").val(datarecord.color_max);
1175 $("#st_carb_min").val(datarecord.carb_min); 1285 $("#st_carb_min").val(datarecord.carb_min);
1286 $("#st_carb_min2").val(datarecord.carb_min);
1176 $("#st_carb_max").val(datarecord.carb_max); 1287 $("#st_carb_max").val(datarecord.carb_max);
1288 $("#st_carb_max2").val(datarecord.carb_max);
1177 $("#st_abv_min").val(datarecord.abv_min); 1289 $("#st_abv_min").val(datarecord.abv_min);
1178 $("#st_abv_max").val(datarecord.abv_max); 1290 $("#st_abv_max").val(datarecord.abv_max);
1179 } 1291 }
1180 }); 1292 });
1181 1293
1342 { name: 'brew_aeration_type', type: 'string' }, 1454 { name: 'brew_aeration_type', type: 'string' },
1343 { name: 'brew_fermenter_sg', type: 'float' }, 1455 { name: 'brew_fermenter_sg', type: 'float' },
1344 { name: 'brew_fermenter_ibu', type: 'float' }, 1456 { name: 'brew_fermenter_ibu', type: 'float' },
1345 { name: 'brew_date_end', type: 'string' }, 1457 { name: 'brew_date_end', type: 'string' },
1346 { name: 'brew_log_available', type: 'bool' }, 1458 { name: 'brew_log_available', type: 'bool' },
1459 { name: 'og', type: 'float' },
1460 { name: 'fg', type: 'float' },
1347 { name: 'primary_start_temp', type: 'float' }, 1461 { name: 'primary_start_temp', type: 'float' },
1348 { name: 'primary_max_temp', type: 'float' }, 1462 { name: 'primary_max_temp', type: 'float' },
1349 { name: 'primary_end_temp', type: 'float' }, 1463 { name: 'primary_end_temp', type: 'float' },
1350 { name: 'primary_end_sg', type: 'float' }, 1464 { name: 'primary_end_sg', type: 'float' },
1351 { name: 'primary_end_date', type: 'string' }, 1465 { name: 'primary_end_date', type: 'string' },
1363 { name: 'keg_priming_sugar', type: 'string' }, 1477 { name: 'keg_priming_sugar', type: 'string' },
1364 { name: 'keg_priming_amount', type: 'float' }, 1478 { name: 'keg_priming_amount', type: 'float' },
1365 { name: 'keg_carbonation_temp', type: 'float' }, 1479 { name: 'keg_carbonation_temp', type: 'float' },
1366 { name: 'keg_forced_carb', type: 'bool' }, 1480 { name: 'keg_forced_carb', type: 'bool' },
1367 { name: 'keg_pressure', type: 'float' }, 1481 { name: 'keg_pressure', type: 'float' },
1368 { name: 'keg_priming_factor', type: 'float' },
1369 { name: 'taste_notes', type: 'string' }, 1482 { name: 'taste_notes', type: 'string' },
1370 { name: 'taste_rate', type: 'float' }, 1483 { name: 'taste_rate', type: 'float' },
1371 { name: 'taste_date', type: 'string' }, 1484 { name: 'taste_date', type: 'string' },
1372 { name: 'taste_color', type: 'string' }, 1485 { name: 'taste_color', type: 'string' },
1373 { name: 'taste_transparency', type: 'string' }, 1486 { name: 'taste_transparency', type: 'string' },
1518 // Header Naar gistvat 1631 // Header Naar gistvat
1519 $("#brew_fermenter_extrawater").val(dataRecord.brew_fermenter_extrawater); 1632 $("#brew_fermenter_extrawater").val(dataRecord.brew_fermenter_extrawater);
1520 $("#brew_fermenter_extrasugar").val(dataRecord.brew_fermenter_extrasugar); 1633 $("#brew_fermenter_extrasugar").val(dataRecord.brew_fermenter_extrasugar);
1521 $("#brew_fermenter_color").val(dataRecord.brew_fermenter_color); 1634 $("#brew_fermenter_color").val(dataRecord.brew_fermenter_color);
1522 $("#brew_date_end").val(dataRecord.brew_date_end); 1635 $("#brew_date_end").val(dataRecord.brew_date_end);
1523 1636 $("#og").val(dataRecord.og);
1637 $("#fg").val(dataRecord.fg);
1638 $("#package_date").val(dataRecord.package_date);
1639 $("#bottle_amount").val(dataRecord.bottle_amount);
1640 $("#bottle_carbonation").val(dataRecord.bottle_carbonation);
1641 $("#bottle_priming_sugar").val(dataRecord.bottle_priming_sugar);
1642 $("#bottle_priming_amount").val(dataRecord.bottle_priming_amount);
1643 $("#bottle_carbonation_temp").val(dataRecord.bottle_carbonation_temp);
1644 $("#keg_amount").val(dataRecord.keg_amount);
1645 $("#keg_carbonation").val(dataRecord.keg_carbonation);
1646 $("#keg_priming_sugar").val(dataRecord.keg_priming_sugar);
1647 $("#keg_priming_amount").val(dataRecord.keg_priming_amount);
1648 $("#keg_carbonation_temp").val(dataRecord.keg_carbonation_temp);
1649 $("#keg_forced_carb").val(dataRecord.keg_forced_carb);
1650 $("#keg_pressure").val(dataRecord.keg_pressure);
1524 $("#taste_notes").val(dataRecord.taste_notes); 1651 $("#taste_notes").val(dataRecord.taste_notes);
1525 $("#taste_rate").val(dataRecord.taste_rate); 1652 $("#taste_rate").val(dataRecord.taste_rate);
1526 $("#taste_date").val(dataRecord.taste_date); 1653 $("#taste_date").val(dataRecord.taste_date);
1527 $("#taste_color").val(dataRecord.taste_color); 1654 $("#taste_color").val(dataRecord.taste_color);
1528 $("#taste_transparency").val(dataRecord.taste_transparency); 1655 $("#taste_transparency").val(dataRecord.taste_transparency);
1548 $("#st_color_min").val(dataRecord.st_color_min); 1675 $("#st_color_min").val(dataRecord.st_color_min);
1549 $("#st_color_max").val(dataRecord.st_color_max); 1676 $("#st_color_max").val(dataRecord.st_color_max);
1550 $("#st_ibu_min").val(dataRecord.st_ibu_min); 1677 $("#st_ibu_min").val(dataRecord.st_ibu_min);
1551 $("#st_ibu_max").val(dataRecord.st_ibu_max); 1678 $("#st_ibu_max").val(dataRecord.st_ibu_max);
1552 $("#st_carb_min").val(dataRecord.st_carb_min); 1679 $("#st_carb_min").val(dataRecord.st_carb_min);
1680 $("#st_carb_min2").val(dataRecord.st_carb_min);
1553 $("#st_carb_max").val(dataRecord.st_carb_max); 1681 $("#st_carb_max").val(dataRecord.st_carb_max);
1682 $("#st_carb_max2").val(dataRecord.st_carb_max);
1554 $("#type").val(dataRecord.type); 1683 $("#type").val(dataRecord.type);
1555 $("#batch_size").val(dataRecord.batch_size); 1684 $("#batch_size").val(dataRecord.batch_size);
1556 $("#boil_size").val(dataRecord.boil_size); 1685 $("#boil_size").val(dataRecord.boil_size);
1557 $("#boil_time").val(dataRecord.boil_time); 1686 $("#boil_time").val(dataRecord.boil_time);
1558 $("#efficiency").val(dataRecord.efficiency); 1687 $("#efficiency").val(dataRecord.efficiency);
2742 var srcColor = [ "Morey", "Mosher", "Daniels" ]; 2871 var srcColor = [ "Morey", "Mosher", "Daniels" ];
2743 var srcIBU = [ "Tinseth", "Rager", "Daniels" ]; // Only these are supported at this time. 2872 var srcIBU = [ "Tinseth", "Rager", "Daniels" ]; // Only these are supported at this time.
2744 var srcBase = [ "NaHCO3", "Na2CO3", "CaCO3", "Ca(OH)2" ]; 2873 var srcBase = [ "NaHCO3", "Na2CO3", "CaCO3", "Ca(OH)2" ];
2745 var srcAcid = [ "Melkzuur", "Zoutzuur", "Fosforzuur", "Zwavelzuur" ]; 2874 var srcAcid = [ "Melkzuur", "Zoutzuur", "Fosforzuur", "Zwavelzuur" ];
2746 var srcSource = [ "Bron 1", "Bron 2", "Gemengd" ]; 2875 var srcSource = [ "Bron 1", "Bron 2", "Gemengd" ];
2876 var srcSugar = [ "Kristalsuiker", "Glucose/dextrose", "Honing", "Moutextract", "Melasse" ];
2747 var srcMaterial= [ "RVS", "Aluminium", "Kunststof", "Koper" ]; 2877 var srcMaterial= [ "RVS", "Aluminium", "Kunststof", "Koper" ];
2748 var srcAeration= [ 'None', 'Air', 'Oxygen' ]; 2878 var srcAeration= [ 'None', 'Air', 'Oxygen' ];
2749 var srcCooling= [ '-', 'Emersion chiller', 'Counterflow chiller', 'Au bain marie', 'Natural' ]; 2879 var srcCooling= [ '-', 'Emersion chiller', 'Counterflow chiller', 'Au bain marie', 'Natural' ];
2750 // '-', 'Dompelkoeler', 'Tegenstroomkoeler', 'Au bain marie', 'Laten afkoelen' 2880 // '-', 'Dompelkoeler', 'Tegenstroomkoeler', 'Au bain marie', 'Laten afkoelen'
2751 // Tab 1, Algemeen 2881 // Tab 1, Algemeen
3110 $("#brew_fermenter_extrasugar").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 }); 3240 $("#brew_fermenter_extrasugar").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 });
3111 $("#brew_fermenter_ibu").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 0 }); 3241 $("#brew_fermenter_ibu").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 0 });
3112 $("#brew_fermenter_color").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 0 }); 3242 $("#brew_fermenter_color").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 0 });
3113 3243
3114 // Tab 10, Fermentation 3244 // Tab 10, Fermentation
3245 // Note, fermentation temps changes must do calcCarbonation()
3246 $("#fg").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 3, spinButtons: true, spinButtonsStep: 0.001 });
3115 3247
3116 // Tab 11, Packaging 3248 // Tab 11, Packaging
3249 $("#package_date").jqxTooltip({ content: 'De verpakkings datum van dit bier.' });
3250 $("#package_date").jqxDateTimeInput({
3251 theme: theme,
3252 width: 150,
3253 height: 23,
3254 allowNullDate: true,
3255 todayString: 'Vandaag',
3256 clearString: 'Wissen',
3257 showFooter: true,
3258 formatString: 'yyyy-MM-dd'
3259 });
3260 $("#st_carb_min2").jqxTooltip({ content: 'Het minimum aanbevolen koolzuur volume voor deze bierstijl.'});
3261 $("#st_carb_min2").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 1, readOnly: true });
3262 $("#st_carb_max2").jqxTooltip({ content: 'Het maximum aamnevolen koolzuur volume voor deze bierstijl.'});
3263 $("#st_carb_max2").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 1, readOnly: true });
3264 $("#bottle_amount").jqxTooltip({ content: 'De totale hoeveelheid te bottelen bier.' });
3265 $("#bottle_amount").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 });
3266 $("#keg_amount").jqxTooltip({ content: 'De totale hoeveelheid op fust te zetten bier.' });
3267 $("#keg_amount").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 });
3268 $("#bottle_carbonation").jqxTooltip({ content: 'Het gewenste CO2 volume in de flessen.' });
3269 $("#bottle_carbonation").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, max: 5, decimalDigits: 2, spinButtons: true, spinButtonsStep: 0.05 });
3270 $("#keg_carbonation").jqxTooltip({ content: 'Het gewenste CO2 volume door de suiker in de fusten.' });
3271 $("#keg_carbonation").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, max: 5, decimalDigits: 2, spinButtons: true, spinButtonsStep: 0.05 });
3272 $("#bottle_priming_sugar").jqxDropDownList({ theme: theme, source: srcSugar, width: 175, height: 23, dropDownHeight: 150 });
3273 $("#keg_priming_sugar").jqxDropDownList({ theme: theme, source: srcSugar, width: 175, height: 23, dropDownHeight: 150 });
3274 $("#bottle_priming_amount").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 70, height: 23, decimalDigits: 1, readOnly: true });
3275 $("#keg_priming_amount").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 70, height: 23, decimalDigits: 1, readOnly: true });
3276 $("#bottle_priming_total").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 70, height: 23, decimalDigits: 1, readOnly: true });
3277 $("#keg_priming_total").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 70, height: 23, decimalDigits: 1, readOnly: true });
3278 $("#keg_forced_carb").jqxCheckBox({ theme: theme, width: 120, height: 23 });
3279 $("#keg_pressure").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 70, height: 23, decimalDigits: 1, readOnly: true });
3280 $("#bottle_abv").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 70, height: 23, decimalDigits: 1, readOnly: true });
3281 $("#keg_abv").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 70, height: 23, decimalDigits: 1, readOnly: true });
3282 $("#bottle_carbonation_temp").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0.5, max: 40, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 });
3283 $("#keg_carbonation_temp").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0.5, max: 40, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 });
3117 3284
3118 // Tab 12, Tasting 3285 // Tab 12, Tasting
3119 $("#taste_date").jqxTooltip({ content: 'De proef datum van dit bier.' }); 3286 $("#taste_date").jqxTooltip({ content: 'De proef datum van dit bier.' });
3120 $("#taste_date").jqxDateTimeInput({ 3287 $("#taste_date").jqxDateTimeInput({
3121 theme: theme, 3288 theme: theme,
3231 eq_kettle_volume: parseFloat($("#eq_kettle_volume").jqxNumberInput('decimal')), 3398 eq_kettle_volume: parseFloat($("#eq_kettle_volume").jqxNumberInput('decimal')),
3232 eq_kettle_height: dataRecord.eq_kettle_height, 3399 eq_kettle_height: dataRecord.eq_kettle_height,
3233 eq_mash_volume: parseFloat($("#eq_mash_volume").jqxNumberInput('decimal')), 3400 eq_mash_volume: parseFloat($("#eq_mash_volume").jqxNumberInput('decimal')),
3234 eq_mash_max: parseFloat($("#eq_mash_max").jqxNumberInput('decimal')), 3401 eq_mash_max: parseFloat($("#eq_mash_max").jqxNumberInput('decimal')),
3235 eq_efficiency: parseFloat($("#eq_efficiency").jqxNumberInput('decimal')), 3402 eq_efficiency: parseFloat($("#eq_efficiency").jqxNumberInput('decimal')),
3403
3404 og: dataRecord.og,
3405 fg: parseFloat($("#fg").jqxNumberInput('decimal')),
3406 package_date: $("#package_date").val(),
3407 bottle_amount: parseFloat($("#bottle_amount").jqxNumberInput('decimal')),
3408 bottle_carbonation: parseFloat($("#bottle_carbonation").jqxNumberInput('decimal')),
3409 bottle_priming_sugar: $("#bottle_priming_sugar").val(),
3410 bottle_priming_amount: parseFloat($("#bottle_priming_amount").jqxNumberInput('decimal')),
3411 bottle_carbonation_temp: parseFloat($("#bottle_carbonation_temp").jqxNumberInput('decimal')),
3412 keg_amount: parseFloat($("#keg_amount").jqxNumberInput('decimal')),
3413 keg_carbonation: parseFloat($("#keg_carbonation").jqxNumberInput('decimal')),
3414 keg_priming_sugar: $("#keg_priming_sugar").val(),
3415 keg_priming_amount: parseFloat($("#keg_priming_amount").jqxNumberInput('decimal')),
3416 keg_carbonation_temp: parseFloat($("#keg_carbonation_temp").jqxNumberInput('decimal')),
3417 keg_forced_carb: $("#keg_forced_carb").val(),
3418 keg_pressure: parseFloat($("#keg_pressure").jqxNumberInput('decimal')),
3236 taste_notes: $("#taste_notes").val(), 3419 taste_notes: $("#taste_notes").val(),
3237 taste_rate: parseFloat($("#taste_rate").jqxNumberInput('decimal')), 3420 taste_rate: parseFloat($("#taste_rate").jqxNumberInput('decimal')),
3238 taste_date: $("#taste_date").val(), 3421 taste_date: $("#taste_date").val(),
3239 taste_color: $("#taste_color").val(), 3422 taste_color: $("#taste_color").val(),
3240 taste_transparency: $("#taste_transparency").val(), 3423 taste_transparency: $("#taste_transparency").val(),

mercurial