[WIP] Tara
Test / Run tests (push) Successful in 2m45s

This commit is contained in:
2026-09-14 10:32:14 +02:00
parent fea779bd95
commit dbc1363213
6 changed files with 33 additions and 6 deletions
+2
View File
@@ -36,6 +36,7 @@ namespace Elwig.Services {
vm.SortId = "";
vm.GradationKmwString = "";
vm.WeightString = "";
vm.Tare = "-";
vm.IsManualWeighing = false;
vm.PartComment = "";
vm.TemperatureString = "";
@@ -52,6 +53,7 @@ namespace Elwig.Services {
vm.WineRd = ControlUtils.GetItemFromSourceWithPk(vm.WineRdSource, p.KgNr, p.RdNr) as WbRd;
vm.WineOrigin = ControlUtils.GetItemFromSourceWithPk(vm.WineOriginSource, p.HkId) as WineOrigin;
vm.WeightString = $"{p.Weight:N0}";
vm.Tare = p.WeighingInfo.Tare is int t && t != 0 ? $"{t:N0} kg" : "-";
vm.IsManualWeighing = p.IsManualWeighing;
vm.IsNetWeight = p.IsNetWeight;