305 { name: 'prop3_volume', type: 'float' }, |
305 { name: 'prop3_volume', type: 'float' }, |
306 { name: 'prop4_type', type: 'int' }, |
306 { name: 'prop4_type', type: 'int' }, |
307 { name: 'prop4_volume', type: 'float' }, |
307 { name: 'prop4_volume', type: 'float' }, |
308 { name: 'divide_type', type: 'int' }, |
308 { name: 'divide_type', type: 'int' }, |
309 { name: 'divide_size', type: 'float' }, |
309 { name: 'divide_size', type: 'float' }, |
|
310 { name: 'divide_factor', type: 'float' }, |
310 { name: 'divide_parts', type: 'int' }, |
311 { name: 'divide_parts', type: 'int' }, |
|
312 { name: 'divide_part', type: 'int' }, |
311 { name: 'fermentables', type: 'array' }, |
313 { name: 'fermentables', type: 'array' }, |
312 { name: 'hops', type: 'array' }, |
314 { name: 'hops', type: 'array' }, |
313 { name: 'miscs', type: 'array' }, |
315 { name: 'miscs', type: 'array' }, |
314 { name: 'yeasts', type: 'array' }, |
316 { name: 'yeasts', type: 'array' }, |
315 { name: 'mashs', type: 'array' } |
317 { name: 'mashs', type: 'array' } |
533 $('#prop3_volume').val(dataRecord.prop3_volume); |
535 $('#prop3_volume').val(dataRecord.prop3_volume); |
534 $('#prop4_type').val(dataRecord.prop4_type); |
536 $('#prop4_type').val(dataRecord.prop4_type); |
535 $('#prop4_volume').val(dataRecord.prop4_volume); |
537 $('#prop4_volume').val(dataRecord.prop4_volume); |
536 $('#divide_type').val(SplitData[dataRecord.divide_type].nl); |
538 $('#divide_type').val(SplitData[dataRecord.divide_type].nl); |
537 // hidden divide_size |
539 // hidden divide_size |
|
540 // hidden divide_factor |
538 $('#divide_parts').val(dataRecord.divide_parts); |
541 $('#divide_parts').val(dataRecord.divide_parts); |
|
542 // hidden divide_part |
539 editFermentable(dataRecord); |
543 editFermentable(dataRecord); |
540 editHop(dataRecord); |
544 editHop(dataRecord); |
541 editMisc(dataRecord); |
545 editMisc(dataRecord); |
542 editYeast(dataRecord); |
546 editYeast(dataRecord); |
543 editMash(dataRecord); |
547 editMash(dataRecord); |
4410 prop3_volume: parseFloat($('#prop3_volume').jqxNumberInput('decimal')), |
4414 prop3_volume: parseFloat($('#prop3_volume').jqxNumberInput('decimal')), |
4411 prop4_type: $('#prop4_type').val(), |
4415 prop4_type: $('#prop4_type').val(), |
4412 prop4_volume: parseFloat($('#prop4_volume').jqxNumberInput('decimal')), |
4416 prop4_volume: parseFloat($('#prop4_volume').jqxNumberInput('decimal')), |
4413 divide_type: dataRecord.divide_type, |
4417 divide_type: dataRecord.divide_type, |
4414 divide_size: dataRecord.divide_size, |
4418 divide_size: dataRecord.divide_size, |
|
4419 divide_factor: dataRecord.divide_factor, |
4415 divide_parts: dataRecord.divide_parts, |
4420 divide_parts: dataRecord.divide_parts, |
|
4421 divide_part: dataRecord.divide_part, |
4416 fermentables: $('#fermentableGrid').jqxGrid('getrows'), |
4422 fermentables: $('#fermentableGrid').jqxGrid('getrows'), |
4417 hops: $('#hopGrid').jqxGrid('getrows'), |
4423 hops: $('#hopGrid').jqxGrid('getrows'), |
4418 miscs: $('#miscGrid').jqxGrid('getrows'), |
4424 miscs: $('#miscGrid').jqxGrid('getrows'), |
4419 yeasts: $('#yeastGrid').jqxGrid('getrows'), |
4425 yeasts: $('#yeastGrid').jqxGrid('getrows'), |
4420 mashs: $('#mashGrid').jqxGrid('getrows') |
4426 mashs: $('#mashGrid').jqxGrid('getrows') |
4467 dataRecord.locked = 0; |
4473 dataRecord.locked = 0; |
4468 dataRecord.stage = 10; |
4474 dataRecord.stage = 10; |
4469 calcStage(); |
4475 calcStage(); |
4470 } |
4476 } |
4471 }); |
4477 }); |
4472 $('#divide_parts').jqxTooltip({ content: 'Het aantal gesplitste brouw producten.' }); |
4478 $('#divide_parts').jqxTooltip({ content: 'Het aantal extra gesplitste brouw producten.' }); |
4473 $('#divide_parts').jqxNumberInput(Show0dec); |
4479 $('#divide_parts').jqxNumberInput(Show0dec); |
4474 $('#divide_type').jqxTooltip({ content: 'Het splitsing moment in het productie proces.' }); |
4480 $('#divide_type').jqxTooltip({ content: 'Het splitsing moment in het productie proces.' }); |
4475 $('#divide_type').jqxInput({ theme: theme, width: 120, height: 23 }); |
4481 $('#divide_type').jqxInput({ theme: theme, width: 120, height: 23 }); |
4476 |
4482 |
4477 $('#notes').jqxTooltip({ content: 'De uitgebreide opmerkingen over dit product.' }); |
4483 $('#notes').jqxTooltip({ content: 'De uitgebreide opmerkingen over dit product.' }); |