223 if (row.f_added < 4) { |
224 if (row.f_added < 4) { |
224 colort += row.f_amount * ebc_to_srm(row.f_color); |
225 colort += row.f_amount * ebc_to_srm(row.f_color); |
225 colorh += row.f_amount * row.f_color * get_kt(row.f_color); |
226 colorh += row.f_amount * row.f_color * get_kt(row.f_color); |
226 colorn += (row.f_percentage / 100) * row.f_color; // For 8.6 Pt wort. |
227 colorn += (row.f_percentage / 100) * row.f_color; // For 8.6 Pt wort. |
227 } |
228 } |
|
229 if (fermentableInit) { |
|
230 if (row.f_added == 4) { |
|
231 $("#bottle_priming_total").val(row.f_amount * 1000); // Prevent clearing |
|
232 $("#bottle_priming_sugar").jqxDropDownList('selectItem', row.f_name); |
|
233 } |
|
234 if (row.f_added == 5) { |
|
235 $("#keg_priming_total").val(row.f_amount * 1000); |
|
236 $("#keg_priming_sugar").jqxDropDownList('selectItem', row.f_name); |
|
237 } |
|
238 } |
228 // Check supplies. |
239 // Check supplies. |
229 if ((((dataRecord.inventory_reduced <= 2) && (row.f_added <= 1)) || // Mash or boil |
240 if ((((dataRecord.inventory_reduced <= 2) && (row.f_added <= 1)) || // Mash or boil |
230 ((dataRecord.inventory_reduced <= 3) && (row.f_added == 2)) || // Primary |
241 ((dataRecord.inventory_reduced <= 3) && (row.f_added == 2)) || // Primary |
231 ((dataRecord.inventory_reduced <= 5) && (row.f_added == 3)) || // Secondary or Tertiary |
242 ((dataRecord.inventory_reduced <= 5) && (row.f_added == 3)) || // Secondary or Tertiary |
232 ((dataRecord.inventory_reduced <= 6) && (row.f_added == 4)) || // Bottle |
243 ((dataRecord.inventory_reduced <= 6) && (row.f_added == 4)) || // Bottle |
233 ((dataRecord.inventory_reduced <= 6) && (row.f_added == 5))) && row.f_inventory < row.f_amount) { |
244 ((dataRecord.inventory_reduced <= 6) && (row.f_added == 5))) && row.f_inventory < row.f_amount) { |
234 ok_fermentables = 0; |
245 ok_fermentables = 0; |
235 } |
246 } |
236 if (row.f_added == 0 && (row.f_type == 0 || row.f_type == 4) && row.f_color < 50) { // Mash and Grain/Adjunct and Color < 50 |
247 if (row.f_added == 0 && (row.f_type == 0 || row.f_type == 4) && row.f_color < 50) { // Mash and Grain/Adjunct and Color < 50 |
237 lintner += row.f_diastatic_power * row.f_amount; |
248 lintner += row.f_diastatic_power * row.f_amount; |
238 // console.log("add "+row.f_name+" diastatic_power:"+row.f_diastatic_power*row.f_amount+" now:"+lintner); |
249 } |
239 // } else { |
250 } |
240 // console.log("ign "+row.f_name+" diastatic_power:"+row.f_diastatic_power*row.f_amount+" now:"+lintner); |
251 fermentableInit = 0; |
241 } |
|
242 } |
|
243 $("#ferm_lintner").val(Math.round(parseFloat(lintner / mashkg))); |
252 $("#ferm_lintner").val(Math.round(parseFloat(lintner / mashkg))); |
244 // console.log("lintner:"+lintner+" kg:"+mashkg); |
|
245 $("#mash_kg").val(mashkg); |
253 $("#mash_kg").val(mashkg); |
246 console.log("calcFermentables() supplies:"+ok_fermentables); |
254 console.log("calcFermentables() supplies:"+ok_fermentables); |
247 to_100 = my_100; |
255 to_100 = my_100; |
248 if (to_100) { |
256 if (to_100) { |
249 $("#wf_amount").jqxNumberInput({ width: 90, readOnly: true, spinButtons: false }); |
257 $("#wf_amount").jqxNumberInput({ width: 90, readOnly: true, spinButtons: false }); |
1802 if (TSec < 1) |
1808 if (TSec < 1) |
1803 TSec = dataRecord.primary_end_temp; // Fallback |
1809 TSec = dataRecord.primary_end_temp; // Fallback |
1804 if (TSec < 1) |
1810 if (TSec < 1) |
1805 TSec = 18; // Fallback to room temperature. |
1811 TSec = 18; // Fallback to room temperature. |
1806 |
1812 |
1807 if (dataRecord.fg == 1.000) |
1813 if (dataRecord.fg == 0.000) |
1808 var ABV = abvol(dataRecord.brew_fermenter_sg, parseFloat($("#est_fg").jqxNumberInput('decimal'))); |
1814 var ABV = abvol(dataRecord.brew_fermenter_sg, parseFloat($("#est_fg").jqxNumberInput('decimal'))); |
1809 else |
1815 else |
1810 var ABV = abvol(dataRecord.brew_fermenter_sg, dataRecord.fg); |
1816 var ABV = abvol(dataRecord.brew_fermenter_sg, dataRecord.fg); |
|
1817 ABV = Math.round(ABV * 100) / 100; |
|
1818 |
|
1819 console.log("calcCarbonation() TSec:"+TSec+" ABV:"+ABV); |
|
1820 if (!(rows = $('#fermentableGrid').jqxGrid('getrows'))) { |
|
1821 return; // grid not yet loaded. |
|
1822 } |
1811 |
1823 |
1812 // Bottles |
1824 // Bottles |
1813 var SFactor = PrimingSugarData[dataRecord.bottle_priming_sugar].factor; |
1825 dataRecord.bottle_priming_amount = 0; |
1814 var Amount = CarbCO2toS(dataRecord.bottle_carbonation, TSec, SFactor); |
1826 dataRecord.bottle_priming_total = 0; |
1815 dataRecord.bottle_priming_amount = Amount; |
1827 for (var i = 0; i < rows.length; i++) { |
|
1828 var row = rows[i]; |
|
1829 if (row.f_added == 4) { |
|
1830 var SFactor = 1 / ((row.f_yield / 100) * (1 - row.f_moisture / 100)); |
|
1831 dataRecord.bottle_priming_amount = CarbCO2toS(dataRecord.bottle_carbonation, TSec, SFactor); |
|
1832 dataRecord.bottle_priming_total = Math.round(dataRecord.bottle_amount * dataRecord.bottle_priming_amount * 100) / 100; |
|
1833 $("#fermentableGrid").jqxGrid('setcellvalue', i, 'f_amount', dataRecord.bottle_priming_total / 1000); |
|
1834 } |
|
1835 } |
1816 $("#bottle_priming_amount").val(Math.round(dataRecord.bottle_priming_amount * 10) / 10); |
1836 $("#bottle_priming_amount").val(Math.round(dataRecord.bottle_priming_amount * 10) / 10); |
1817 $("#bottle_priming_total").val(Math.round(dataRecord.bottle_amount * dataRecord.bottle_priming_amount * 10) / 10); |
1837 $("#bottle_priming_total").val(dataRecord.bottle_priming_total); |
1818 $("#bottle_abv").val(Math.round((ABV + Amount * 0.47 / 7.907) * 10) / 10); |
1838 $("#bottle_abv").val(Math.round((ABV + dataRecord.bottle_priming_amount * 0.47 / 7.907) * 10) / 10); |
1819 |
1839 |
1820 // Kegs |
1840 // Kegs |
1821 SFactor = PrimingSugarData[dataRecord.keg_priming_sugar].factor; |
|
1822 Amount = CarbCO2toS(dataRecord.keg_carbonation, TSec, SFactor); |
|
1823 var Pressure = CarbCO2ToPressure(dataRecord.keg_carbonation, dataRecord.keg_carbonation_temp); |
1841 var Pressure = CarbCO2ToPressure(dataRecord.keg_carbonation, dataRecord.keg_carbonation_temp); |
1824 if (Pressure < 0) |
1842 if (Pressure < 0) |
1825 Pressure = 0; |
1843 Pressure = 0; |
1826 dataRecord.keg_pressure = Pressure; |
1844 dataRecord.keg_pressure = Pressure; |
1827 $("#keg_pressure").val(Math.round(Pressure * 10) / 10); |
1845 $("#keg_pressure").val(Math.round(Pressure * 10) / 10); |
1828 |
1846 |
1829 if (dataRecord.keg_forced_carb) { |
1847 dataRecord.keg_priming_amount = 0; |
1830 Amount = 0; |
1848 dataRecord.keg_priming_total = 0; |
1831 dataRecord.keg_priming_amount = 0; |
1849 if (! dataRecord.keg_forced_carb) { |
1832 $("#keg_priming_amount").val(0); |
1850 for (var i = 0; i < rows.length; i++) { |
1833 $("#keg_priming_total").val(0); |
1851 var row = rows[i]; |
1834 } else { |
1852 if (row.f_added == 5) { |
1835 dataRecord.keg_priming_amount = Amount; |
1853 var SFactor = 1 / ((row.f_yield / 100) * (1 - row.f_moisture / 100)); |
1836 $("#keg_priming_amount").val(Math.round(dataRecord.keg_priming_amount * 10) / 10); |
1854 dataRecord.keg_priming_amount = CarbCO2toS(dataRecord.keg_carbonation, TSec, SFactor); |
1837 $("#keg_priming_total").val(Math.round(dataRecord.keg_amount * dataRecord.keg_priming_amount * 10) / 10); |
1855 dataRecord.keg_priming_total = Math.round(dataRecord.keg_amount * dataRecord.keg_priming_amount * 100) / 100; |
1838 } |
1856 $("#fermentableGrid").jqxGrid('setcellvalue', i, 'f_amount', dataRecord.keg_priming_total / 1000); |
1839 |
1857 } |
1840 $("#keg_abv").val(Math.round((ABV + Amount * 0.47 / 7.907) * 10) / 10); |
1858 } |
|
1859 } |
|
1860 $("#keg_priming_amount").val(Math.round(dataRecord.keg_priming_amount * 10) / 10); |
|
1861 $("#keg_priming_total").val(dataRecord.keg_priming_total); |
|
1862 $("#keg_abv").val(Math.round((ABV + dataRecord.keg_priming_amount * 0.47 / 7.907) * 10) / 10); |
1841 } |
1863 } |
1842 |
1864 |
1843 function calcStage() { |
1865 function calcStage() { |
1844 |
1866 |
1845 var newstage = dataRecord.stage; |
1867 var newstage = dataRecord.stage; |
2338 }); |
2360 }); |
2339 $('#bottle_carbonation').on('change', function (event) { |
2361 $('#bottle_carbonation').on('change', function (event) { |
2340 dataRecord.bottle_carbonation = parseFloat(event.args.value); |
2362 dataRecord.bottle_carbonation = parseFloat(event.args.value); |
2341 calcCarbonation(); |
2363 calcCarbonation(); |
2342 }); |
2364 }); |
|
2365 $('#bottle_carbonation_temp').on('change', function (event) { |
|
2366 dataRecord.bottle_carbonation_temp = parseFloat(event.args.value); |
|
2367 calcCarbonation(); |
|
2368 }); |
2343 $('#keg_carbonation').on('change', function (event) { |
2369 $('#keg_carbonation').on('change', function (event) { |
2344 dataRecord.keg_carbonation = parseFloat(event.args.value); |
2370 dataRecord.keg_carbonation = parseFloat(event.args.value); |
2345 calcCarbonation(); |
|
2346 }); |
|
2347 $('#bottle_priming_sugar').on('change', function (event) { |
|
2348 dataRecord.bottle_priming_sugar = event.args.item.value; |
|
2349 calcCarbonation(); |
|
2350 }); |
|
2351 $('#keg_priming_sugar').on('change', function (event) { |
|
2352 dataRecord.keg_priming_sugar = event.args.item.value; |
|
2353 calcCarbonation(); |
2371 calcCarbonation(); |
2354 }); |
2372 }); |
2355 $("#keg_forced_carb").on('checked', function (event) { |
2373 $("#keg_forced_carb").on('checked', function (event) { |
2356 dataRecord.keg_forced_carb = 1; |
2374 dataRecord.keg_forced_carb = 1; |
2357 calcCarbonation(); |
2375 calcCarbonation(); |
2622 secondary_end_date: $("#secondary_end_date").val(), |
2640 secondary_end_date: $("#secondary_end_date").val(), |
2623 tertiary_temp: parseFloat($("#tertiary_temp").jqxNumberInput('decimal')), |
2641 tertiary_temp: parseFloat($("#tertiary_temp").jqxNumberInput('decimal')), |
2624 package_date: $("#package_date").val(), |
2642 package_date: $("#package_date").val(), |
2625 bottle_amount: parseFloat($("#bottle_amount").jqxNumberInput('decimal')), |
2643 bottle_amount: parseFloat($("#bottle_amount").jqxNumberInput('decimal')), |
2626 bottle_carbonation: parseFloat($("#bottle_carbonation").jqxNumberInput('decimal')), |
2644 bottle_carbonation: parseFloat($("#bottle_carbonation").jqxNumberInput('decimal')), |
2627 bottle_priming_sugar: $("#bottle_priming_sugar").val(), |
2645 //bottle_priming_sugar: $("#bottle_priming_sugar").val(), |
2628 bottle_priming_amount: parseFloat($("#bottle_priming_amount").jqxNumberInput('decimal')), |
2646 bottle_priming_amount: parseFloat($("#bottle_priming_amount").jqxNumberInput('decimal')), |
2629 bottle_carbonation_temp: parseFloat($("#bottle_carbonation_temp").jqxNumberInput('decimal')), |
2647 bottle_carbonation_temp: parseFloat($("#bottle_carbonation_temp").jqxNumberInput('decimal')), |
2630 keg_amount: parseFloat($("#keg_amount").jqxNumberInput('decimal')), |
2648 keg_amount: parseFloat($("#keg_amount").jqxNumberInput('decimal')), |
2631 keg_carbonation: parseFloat($("#keg_carbonation").jqxNumberInput('decimal')), |
2649 keg_carbonation: parseFloat($("#keg_carbonation").jqxNumberInput('decimal')), |
2632 keg_priming_sugar: $("#keg_priming_sugar").val(), |
2650 //keg_priming_sugar: $("#keg_priming_sugar").val(), |
2633 keg_priming_amount: parseFloat($("#keg_priming_amount").jqxNumberInput('decimal')), |
2651 keg_priming_amount: parseFloat($("#keg_priming_amount").jqxNumberInput('decimal')), |
2634 keg_carbonation_temp: parseFloat($("#keg_carbonation_temp").jqxNumberInput('decimal')), |
2652 keg_carbonation_temp: parseFloat($("#keg_carbonation_temp").jqxNumberInput('decimal')), |
2635 keg_forced_carb: dataRecord.keg_forced_carb, |
2653 keg_forced_carb: dataRecord.keg_forced_carb, |
2636 keg_pressure: parseFloat($("#keg_pressure").jqxNumberInput('decimal')), |
2654 keg_pressure: parseFloat($("#keg_pressure").jqxNumberInput('decimal')), |
2637 taste_notes: $("#taste_notes").val(), |
2655 taste_notes: $("#taste_notes").val(), |
3049 $("#secondary_end_date").val(dataRecord.secondary_end_date); |
3067 $("#secondary_end_date").val(dataRecord.secondary_end_date); |
3050 $("#tertiary_temp").val(dataRecord.tertiary_temp); |
3068 $("#tertiary_temp").val(dataRecord.tertiary_temp); |
3051 $("#package_date").val(dataRecord.package_date); |
3069 $("#package_date").val(dataRecord.package_date); |
3052 $("#bottle_amount").val(dataRecord.bottle_amount); |
3070 $("#bottle_amount").val(dataRecord.bottle_amount); |
3053 $("#bottle_carbonation").val(dataRecord.bottle_carbonation); |
3071 $("#bottle_carbonation").val(dataRecord.bottle_carbonation); |
3054 $("#bottle_priming_sugar").val(dataRecord.bottle_priming_sugar); |
3072 //$("#bottle_priming_sugar").val(dataRecord.bottle_priming_sugar); |
3055 $("#bottle_priming_amount").val(dataRecord.bottle_priming_amount); |
3073 $("#bottle_priming_amount").val(dataRecord.bottle_priming_amount); |
3056 $("#bottle_carbonation_temp").val(dataRecord.bottle_carbonation_temp); |
3074 $("#bottle_carbonation_temp").val(dataRecord.bottle_carbonation_temp); |
3057 $("#keg_amount").val(dataRecord.keg_amount); |
3075 $("#keg_amount").val(dataRecord.keg_amount); |
3058 $("#keg_carbonation").val(dataRecord.keg_carbonation); |
3076 $("#keg_carbonation").val(dataRecord.keg_carbonation); |
3059 $("#keg_priming_sugar").val(dataRecord.keg_priming_sugar); |
3077 //$("#keg_priming_sugar").val(dataRecord.keg_priming_sugar); |
3060 $("#keg_priming_amount").val(dataRecord.keg_priming_amount); |
3078 $("#keg_priming_amount").val(dataRecord.keg_priming_amount); |
3061 $("#keg_carbonation_temp").val(dataRecord.keg_carbonation_temp); |
3079 $("#keg_carbonation_temp").val(dataRecord.keg_carbonation_temp); |
3062 $("#keg_forced_carb").val(dataRecord.keg_forced_carb); |
3080 $("#keg_forced_carb").val(dataRecord.keg_forced_carb); |
3063 $("#keg_pressure").val(dataRecord.keg_pressure); |
3081 $("#keg_pressure").val(dataRecord.keg_pressure); |
3064 $("#taste_notes").val(dataRecord.taste_notes); |
3082 $("#taste_notes").val(dataRecord.taste_notes); |
5660 $("#bottle_carbonation").jqxNumberInput({ max: 5 }); |
5678 $("#bottle_carbonation").jqxNumberInput({ max: 5 }); |
5661 $("#keg_carbonation").jqxTooltip({ content: 'Het gewenste CO2 volume door de suiker in de fusten.' }); |
5679 $("#keg_carbonation").jqxTooltip({ content: 'Het gewenste CO2 volume door de suiker in de fusten.' }); |
5662 $("#keg_carbonation").jqxNumberInput( Spin2dec ); |
5680 $("#keg_carbonation").jqxNumberInput( Spin2dec ); |
5663 $("#keg_carbonation").jqxNumberInput({ max: 5 }); |
5681 $("#keg_carbonation").jqxNumberInput({ max: 5 }); |
5664 $("#bottle_priming_sugar").jqxDropDownList({ |
5682 $("#bottle_priming_sugar").jqxDropDownList({ |
|
5683 placeHolder: "Kies suiker:", |
5665 theme: theme, |
5684 theme: theme, |
5666 source: PrimingSugarAdapter, |
5685 source: fermentablesugars, |
5667 valueMember: 'id', |
5686 displayMember: 'name', |
5668 displayMember: 'nl', |
5687 width: 200, |
5669 width: 180, |
|
5670 height: 23, |
5688 height: 23, |
5671 autoDropDownHeight: true |
5689 dropDownWidth: 300, |
|
5690 dropDownHeight: 400 |
|
5691 }); |
|
5692 $("#bottle_priming_sugar").on('select', function (event) { |
|
5693 if (event.args) { |
|
5694 var index = event.args.index; |
|
5695 var editrow = -1; |
|
5696 var datarecord = fermentablesugars.records[index]; |
|
5697 var rows = $('#fermentableGrid').jqxGrid('getrows'); |
|
5698 for (var i = 0; i < rows.length; i++) { |
|
5699 if (rows[i].f_added == 4) { |
|
5700 editrow = i; |
|
5701 } |
|
5702 } |
|
5703 var row = {}; |
|
5704 row["f_name"] = datarecord.name; |
|
5705 row["f_origin"] = datarecord.origin; |
|
5706 row["f_supplier"] = datarecord.supplier; |
|
5707 row["f_amount"] = parseFloat($("#bottle_priming_total").jqxNumberInput('decimal')) / 1000; |
|
5708 row["f_cost"] = datarecord.cost; |
|
5709 row["f_type"] = datarecord.type; |
|
5710 row["f_yield"] = datarecord.yield; |
|
5711 row["f_color"] = datarecord.color; |
|
5712 row["f_coarse_fine_diff"] = datarecord.coarse_fine_diff; |
|
5713 row["f_moisture"] = datarecord.moisture; |
|
5714 row["f_diastatic_power"] = datarecord.diastatic_power; |
|
5715 row["f_protein"] = datarecord.protein; |
|
5716 row["f_max_in_batch"] = datarecord.max_in_batch; |
|
5717 row["f_graintype"] = datarecord.graintype; |
|
5718 row["f_added"] = 4; |
|
5719 row["f_dissolved_protein"] = datarecord.dissolved_protein; |
|
5720 row["f_recommend_mash"] = datarecord.recommend_mash; |
|
5721 row["f_add_after_boil"] = 1; |
|
5722 row["f_adjust_to_total_100"] = 0; |
|
5723 row["f_percentage"] = 0; |
|
5724 row["f_di_ph"] = datarecord.di_ph; |
|
5725 row["f_acid_to_ph_57"] = datarecord.acid_to_ph_57; |
|
5726 row["f_inventory"] = datarecord.inventory; |
|
5727 if (editrow >= 0) { |
|
5728 var rowID = $('#fermentableGrid').jqxGrid('getrowid', editrow); |
|
5729 $('#fermentableGrid').jqxGrid('updaterow', rowID, row); |
|
5730 } else { |
|
5731 $("#fermentableGrid").jqxGrid('addrow', null, row); |
|
5732 } |
|
5733 calcCarbonation(); |
|
5734 } |
5672 }); |
5735 }); |
5673 $("#keg_priming_sugar").jqxDropDownList({ |
5736 $("#keg_priming_sugar").jqxDropDownList({ |
|
5737 placeHolder: "Kies suiker:", |
5674 theme: theme, |
5738 theme: theme, |
5675 source: PrimingSugarAdapter, |
5739 source: fermentablesugars, |
5676 valueMember: 'id', |
5740 displayMember: 'name', |
5677 displayMember: 'nl', |
5741 width: 200, |
5678 width: 180, |
|
5679 height: 23, |
5742 height: 23, |
5680 autoDropDownHeight: true |
5743 dropDownWidth: 300, |
5681 }); |
5744 dropDownHeight: 400 |
|
5745 }); |
|
5746 $("#keg_priming_sugar").on('select', function (event) { |
|
5747 if (event.args) { |
|
5748 var index = event.args.index; |
|
5749 var editrow = -1; |
|
5750 var datarecord = fermentablesugars.records[index]; |
|
5751 var rows = $('#fermentableGrid').jqxGrid('getrows'); |
|
5752 for (var i = 0; i < rows.length; i++) { |
|
5753 if (rows[i].f_added == 5) { |
|
5754 editrow = i; |
|
5755 } |
|
5756 } |
|
5757 var row = {}; |
|
5758 row["f_name"] = datarecord.name; |
|
5759 row["f_origin"] = datarecord.origin; |
|
5760 row["f_supplier"] = datarecord.supplier; |
|
5761 row["f_amount"] = parseFloat($("#keg_priming_total").jqxNumberInput('decimal')) / 1000; |
|
5762 row["f_cost"] = datarecord.cost; |
|
5763 row["f_type"] = datarecord.type; |
|
5764 row["f_yield"] = datarecord.yield; |
|
5765 row["f_color"] = datarecord.color; |
|
5766 row["f_coarse_fine_diff"] = datarecord.coarse_fine_diff; |
|
5767 row["f_moisture"] = datarecord.moisture; |
|
5768 row["f_diastatic_power"] = datarecord.diastatic_power; |
|
5769 row["f_protein"] = datarecord.protein; |
|
5770 row["f_max_in_batch"] = datarecord.max_in_batch; |
|
5771 row["f_graintype"] = datarecord.graintype; |
|
5772 row["f_added"] = 5; |
|
5773 row["f_dissolved_protein"] = datarecord.dissolved_protein; |
|
5774 row["f_recommend_mash"] = datarecord.recommend_mash; |
|
5775 row["f_add_after_boil"] = 1; |
|
5776 row["f_adjust_to_total_100"] = 0; |
|
5777 row["f_percentage"] = 0; |
|
5778 row["f_di_ph"] = datarecord.di_ph; |
|
5779 row["f_acid_to_ph_57"] = datarecord.acid_to_ph_57; |
|
5780 row["f_inventory"] = datarecord.inventory; |
|
5781 if (editrow >= 0) { |
|
5782 var rowID = $('#fermentableGrid').jqxGrid('getrowid', editrow); |
|
5783 $('#fermentableGrid').jqxGrid('updaterow', rowID, row); |
|
5784 } else { |
|
5785 $("#fermentableGrid").jqxGrid('addrow', null, row); |
|
5786 } |
|
5787 calcCarbonation(); |
|
5788 } |
|
5789 }); |
5682 $("#bottle_priming_amount").jqxNumberInput( Show1dec ); |
5790 $("#bottle_priming_amount").jqxNumberInput( Show1dec ); |
5683 $("#keg_priming_amount").jqxNumberInput( Show1dec ); |
5791 $("#keg_priming_amount").jqxNumberInput( Show1dec ); |
5684 $("#bottle_priming_total").jqxNumberInput( Show1dec ); |
5792 $("#bottle_priming_total").jqxNumberInput( Show1dec ); |
5685 $("#keg_priming_total").jqxNumberInput( Show1dec ); |
5793 $("#keg_priming_total").jqxNumberInput( Show1dec ); |
5686 $("#keg_forced_carb").jqxCheckBox({ theme: theme, width: 120, height: 23 }); |
5794 $("#keg_forced_carb").jqxCheckBox({ theme: theme, width: 120, height: 23 }); |