2911 yeastRow = row; |
2911 yeastRow = row; |
2912 yeastData = $("#yeastGrid").jqxGrid('getrowdata', yeastRow); |
2912 yeastData = $("#yeastGrid").jqxGrid('getrowdata', yeastRow); |
2913 if (yeastData.y_form == 0) { |
2913 if (yeastData.y_form == 0) { |
2914 $("#wy_pmpt_amount").html("Pak(ken):"); |
2914 $("#wy_pmpt_amount").html("Pak(ken):"); |
2915 $("#wy_amount").val(yeastData.y_amount); |
2915 $("#wy_amount").val(yeastData.y_amount); |
2916 $("#wy_amount").jqxNumberInput({ decimalDigits: 0, spinButtonsStep: 1 }); |
2916 $("#wy_amount").jqxNumberInput({ decimalDigits: 0 }); |
2917 } else if (yeastData.y_form == 1) { |
2917 } else if (yeastData.y_form == 1) { |
2918 $("#wy_pmpt_amount").html("Gewicht gram:"); |
2918 $("#wy_pmpt_amount").html("Gewicht gram:"); |
2919 $("#wy_amount").val(yeastData.y_amount * 1000); |
2919 $("#wy_amount").val(yeastData.y_amount * 1000); |
2920 $("#wy_amount").jqxNumberInput({ decimalDigits: 1, spinButtonsStep: 0.5 }); |
2920 $("#wy_amount").jqxNumberInput({ decimalDigits: 1 }); |
2921 } else { |
2921 } else { |
2922 $("#wy_pmpt_amount").html("Volume ml:"); |
2922 $("#wy_pmpt_amount").html("Volume ml:"); |
2923 $("#wy_amount").val(yeastData.y_amount * 1000); |
2923 $("#wy_amount").val(yeastData.y_amount * 1000); |
2924 $("#wy_amount").jqxNumberInput({ decimalDigits: 0, spinButtonsStep: 1 }); |
2924 $("#wy_amount").jqxNumberInput({ decimalDigits: 0 }); |
2925 } |
2925 } |
2926 $("#wy_name").val(yeastData.y_name); |
2926 $("#wy_name").val(yeastData.y_name); |
2927 $("#wy_laboratory").val(yeastData.y_laboratory); |
2927 $("#wy_laboratory").val(yeastData.y_laboratory); |
2928 $("#wy_product_id").val(yeastData.y_product_id); |
2928 $("#wy_product_id").val(yeastData.y_product_id); |
2929 $("#wy_use").val(yeastData.y_use); |
2929 $("#wy_use").val(yeastData.y_use); |