Forgot to save the new eq_chiller_* fields in products.

Mon, 07 Nov 2022 15:02:16 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 07 Nov 2022 15:02:16 +0100
changeset 433
40d4d2bb5f11
parent 432
f189af715073
child 434
ebf4996ab396

Forgot to save the new eq_chiller_* fields in products.

src/database/db_product.cpp file | annotate | diff | comparison | revisions
translations/bmsapp_en.ts file | annotate | diff | comparison | revisions
translations/bmsapp_nl.ts file | annotate | diff | comparison | revisions
--- a/src/database/db_product.cpp	Fri Nov 04 20:14:22 2022 +0100
+++ b/src/database/db_product.cpp	Mon Nov 07 15:02:16 2022 +0100
@@ -672,6 +672,11 @@
     query.bindValue(":eq_mash_volume", round(prod->eq_mash_volume * 10) / 10);
     query.bindValue(":eq_mash_max", round(prod->eq_mash_max * 10) / 10);
     query.bindValue(":eq_efficiency", round(prod->eq_efficiency * 10) / 10);
+    query.bindValue(":eq_chiller_type", prod->eq_chiller_type);
+    query.bindValue(":eq_chiller_to79", round(prod->eq_chiller_to79));
+    query.bindValue(":eq_chiller_volume", round(prod->eq_chiller_volume * 100) / 100);
+    query.bindValue(":eq_chiller_lpm", round(prod->eq_chiller_lpm * 100) / 100);
+    query.bindValue(":eq_chiller_loss", round(prod->eq_chiller_loss * 100) / 100);
     query.bindValue(":brew_date_start", prod->brew_date_start);
     query.bindValue(":brew_mash_ph", round(prod->brew_mash_ph * 100) / 100);
     query.bindValue(":brew_mash_sg", round(prod->brew_mash_sg * 1000) / 1000);
--- a/translations/bmsapp_en.ts	Fri Nov 04 20:14:22 2022 +0100
+++ b/translations/bmsapp_en.ts	Mon Nov 07 15:02:16 2022 +0100
@@ -11649,8 +11649,8 @@
         <location filename="../src/database/db_recipe.cpp" line="654"/>
         <location filename="../src/database/db_recipe.cpp" line="687"/>
         <location filename="../src/database/db_product.cpp" line="31"/>
-        <location filename="../src/database/db_product.cpp" line="1013"/>
-        <location filename="../src/database/db_product.cpp" line="1046"/>
+        <location filename="../src/database/db_product.cpp" line="1018"/>
+        <location filename="../src/database/db_product.cpp" line="1051"/>
         <source>Database error</source>
         <translation type="unfinished"></translation>
     </message>
@@ -11663,8 +11663,8 @@
     <message>
         <location filename="../src/database/db_recipe.cpp" line="655"/>
         <location filename="../src/database/db_recipe.cpp" line="688"/>
-        <location filename="../src/database/db_product.cpp" line="1014"/>
-        <location filename="../src/database/db_product.cpp" line="1047"/>
+        <location filename="../src/database/db_product.cpp" line="1019"/>
+        <location filename="../src/database/db_product.cpp" line="1052"/>
         <source>MySQL error: %1
 %2
 %3</source>
--- a/translations/bmsapp_nl.ts	Fri Nov 04 20:14:22 2022 +0100
+++ b/translations/bmsapp_nl.ts	Mon Nov 07 15:02:16 2022 +0100
@@ -13082,8 +13082,8 @@
         <location filename="../src/database/db_recipe.cpp" line="654"/>
         <location filename="../src/database/db_recipe.cpp" line="687"/>
         <location filename="../src/database/db_product.cpp" line="31"/>
-        <location filename="../src/database/db_product.cpp" line="1013"/>
-        <location filename="../src/database/db_product.cpp" line="1046"/>
+        <location filename="../src/database/db_product.cpp" line="1018"/>
+        <location filename="../src/database/db_product.cpp" line="1051"/>
         <source>Database error</source>
         <translation>Database fout</translation>
     </message>
@@ -13096,8 +13096,8 @@
     <message>
         <location filename="../src/database/db_recipe.cpp" line="655"/>
         <location filename="../src/database/db_recipe.cpp" line="688"/>
-        <location filename="../src/database/db_product.cpp" line="1014"/>
-        <location filename="../src/database/db_product.cpp" line="1047"/>
+        <location filename="../src/database/db_product.cpp" line="1019"/>
+        <location filename="../src/database/db_product.cpp" line="1052"/>
         <source>MySQL error: %1
 %2
 %3</source>

mercurial