DeliveryAdminWindow: Show CorrectTareButton also for unloading type box
Test / Run tests (push) Successful in 2m11s

This commit is contained in:
2026-09-14 16:40:16 +02:00
parent 6441fa4f50
commit 6436762e8d
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ namespace Elwig.Services {
vm.Weight = p.Weight;
vm.ActualTare = p.WeighingInfo.Tare ?? 0;
vm.TargetTare = vm.ActualTare + p.WeighingInfo.TareCorrection;
vm.Tare = vm.ActualTare != 0 ? vm.TargetTare ?? vm.ActualTare : null;
vm.Tare = vm.TargetTare ?? (vm.ActualTare != 0 ? vm.ActualTare : null);
vm.IsManualWeighing = p.IsManualWeighing;
vm.IsNetWeight = p.IsNetWeight;