2365 yeastRow = row; |
2365 yeastRow = row; |
2366 yeastData = $("#yeastGrid").jqxGrid('getrowdata', yeastRow); |
2366 yeastData = $("#yeastGrid").jqxGrid('getrowdata', yeastRow); |
2367 if (yeastData.y_form == 0) { |
2367 if (yeastData.y_form == 0) { |
2368 $("#wy_pmpt_amount").html("Pak(ken):"); |
2368 $("#wy_pmpt_amount").html("Pak(ken):"); |
2369 $("#wy_amount").val(yeastData.y_amount); |
2369 $("#wy_amount").val(yeastData.y_amount); |
2370 $("#wy_amount").jqxNumberInput({ decimalDigits: 0, spinButtonsStep: 1 }); |
2370 $("#wy_amount").jqxNumberInput({ decimalDigits: 0 }); |
2371 } else if (yeastData.y_form == 1) { |
2371 } else if (yeastData.y_form == 1) { |
2372 $("#wy_pmpt_amount").html("Gewicht gram:"); |
2372 $("#wy_pmpt_amount").html("Gewicht gram:"); |
2373 $("#wy_amount").val(yeastData.y_amount * 1000); |
2373 $("#wy_amount").val(yeastData.y_amount * 1000); |
2374 $("#wy_amount").jqxNumberInput({ decimalDigits: 1, spinButtonsStep: 0.5 }); |
2374 $("#wy_amount").jqxNumberInput({ decimalDigits: 1 }); |
2375 } else { |
2375 } else { |
2376 $("#wy_pmpt_amount").html("Volume ml:"); |
2376 $("#wy_pmpt_amount").html("Volume ml:"); |
2377 $("#wy_amount").val(yeastData.y_amount * 1000); |
2377 $("#wy_amount").val(yeastData.y_amount * 1000); |
2378 $("#wy_amount").jqxNumberInput({ decimalDigits: 0, spinButtonsStep: 1 }); |
2378 $("#wy_amount").jqxNumberInput({ decimalDigits: 0 }); |
2379 } |
2379 } |
2380 $("#wy_name").val(yeastData.y_name); |
2380 $("#wy_name").val(yeastData.y_name); |
2381 $("#wy_laboratory").val(yeastData.y_laboratory); |
2381 $("#wy_laboratory").val(yeastData.y_laboratory); |
2382 $("#wy_product_id").val(yeastData.y_product_id); |
2382 $("#wy_product_id").val(yeastData.y_product_id); |
2383 $("#wy_use").val(yeastData.y_use); |
2383 $("#wy_use").val(yeastData.y_use); |