From 4174ea9e65f90ea32ee94f3ef884eaad6c8a53ef Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Wed, 5 Nov 2025 07:57:17 +0100 Subject: [PATCH] Net mass is now set to gross mass since the workaround doesn't seem to be necessary any more --- ENI2/Controls/EasyPeasyControl.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ENI2/Controls/EasyPeasyControl.xaml.cs b/ENI2/Controls/EasyPeasyControl.xaml.cs index bfc62ea2..122d9cf7 100644 --- a/ENI2/Controls/EasyPeasyControl.xaml.cs +++ b/ENI2/Controls/EasyPeasyControl.xaml.cs @@ -448,7 +448,7 @@ namespace ENI2.Controls if (TryParseDecimalFlexible(gross, out var g)) { item.GoodsMeasure.GrossMass = g; - var net = g - 1m; + var net = g; // - 1m; // now net mass equals gross mass (no deduction) if (net < 0m) net = 0m; item.GoodsMeasure.NetMass = net; }