diff -r d51b05838ac4 -r aa79acfdf8a9 www/js/inv_waters.js --- a/www/js/inv_waters.js Sun Feb 06 20:06:46 2022 +0100 +++ b/www/js/inv_waters.js Thu Feb 10 22:15:10 2022 +0100 @@ -1,5 +1,5 @@ /***************************************************************************** - * Copyright (C) 2014-2021 + * Copyright (C) 2014-2022 * * Michiel Broek * @@ -68,6 +68,7 @@ cache: false, datafields: [ { name: 'record', type: 'number' }, + { name: 'uuid', type: 'string' }, { name: 'name', type: 'string' }, { name: 'unlimited_stock', type: 'int' }, { name: 'calcium', type: 'float' }, @@ -190,6 +191,7 @@ editrow = -1; $('#popupWindow').jqxWindow({ position: { x: 110, y: 30 } }); $('#name').val('Nieuw brouwwater'); + dataRecord.uuid = ''; $('#unlimited_stock').val(0); $('#calcium').val(0); $('#bicarbonate').val(0); @@ -334,6 +336,7 @@ row = { record: rowID, name: $('#name').val(), + uuid: dataRecord.uuid, unlimited_stock: $('#unlimited_stock').val(), calcium: parseFloat($('#calcium').jqxNumberInput('decimal')), bicarbonate: parseFloat($('#bicarbonate').jqxNumberInput('decimal')),