diff -r 481dbe0af222 -r c62ff53cfc3d www/js/prod_edit.js --- a/www/js/prod_edit.js Sun Dec 01 17:37:22 2019 +0100 +++ b/www/js/prod_edit.js Mon Dec 02 13:24:34 2019 +0100 @@ -1280,6 +1280,13 @@ { name: 'y_cells', type: 'float' }, { name: 'y_tolerance', type: 'float' }, { name: 'y_inventory', type: 'float' }, + { name: 'y_sta1', type: 'int' }, + { name: 'y_bacteria', type: 'int' }, + { name: 'y_harvest_top', type: 'int' }, + { name: 'y_harvest_time', type: 'int' }, + { name: 'y_pitch_temperature', type: 'float' }, + { name: 'y_pofpos', type: 'int' }, + { name: 'y_zymocide', type: 'int' }, { name: 'y_avail', type: 'int' } ], addrow: function(rowid, rowdata, position, commit) { @@ -1347,6 +1354,13 @@ row['y_cells'] = datarecord.cells; row['y_tolerance'] = datarecord.tolerance; row['y_inventory'] = datarecord.inventory; + row['y_sta1'] = datarecord.sta1; + row['y_bacteria'] = datarecord.bacteria; + row['y_harvest_top'] = datarecord.harvest_top; + row['y_harvest_time'] = datarecord.harvest_time; + row['y_pitch_temperature'] = datarecord.pitch_temperature; + row['y_pofpos'] = datarecord.pofpos; + row['y_zymocide'] = datarecord.zymocide; $('#yeastGrid').jqxGrid('addrow', null, row); } calcYeast(); @@ -5269,6 +5283,13 @@ y_cells: yeastData.y_cells, y_tolerance: yeastData.y_tolerance, y_inventory: yeastData.y_inventory, + y_sta1: yeastData.y_sta1, + y_bacteria: yeastData.y_bacteria, + y_harvest_top: yeastData.y_harvest_top, + y_harvest_time: yeastData.y_harvest_time, + y_pitch_temperature: yeastData.y_pitch_temperature, + y_pofpos: yeastData.y_pofpos, + y_zymocide: yeastData.y_zymocide, y_avail: yeastData.y_avail }; $('#yeastGrid').jqxGrid('updaterow', rowID, row); @@ -5316,6 +5337,13 @@ yeastData.y_attenuation = datarecord.attenuation; yeastData.y_cells = datarecord.cells; yeastData.y_inventory = datarecord.inventory; + yeastData.y_sta1 = datarecord.sta1; + yeastData,y_bacteria = datarecord.bacteria; + yeastData.y_harvest_top = datarecord.harvest_top; + yeastData.y_harvest_time = datarecord.harvest_time; + yeastData.y_pitch_temperature = datarecord.pitch_temperature; + yeastData.y_pofpos = datarecord.pofpos; + yeastData.y_zymocide = datarecord.zymocide; if (yeastData.y_form == 0) { $('#wy_pmpt_amount').html('Pak(ken):'); } else if (yeastData.y_form == 1 || yeastData.y_form == 6) {