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

This commit is contained in:
lorenz.stechauner committed 2026-09-14 13:12:14 +02:00
1 parent fea779bd95
commit 9a4a36fb5a
11 files changed
+185 -20

No files matched your search

+5
View File
@@ -303,6 +303,11 @@ namespace Elwig.Helpers {
return d.ShowDialog() == true ? (d.Weight, d.Reason) : null;
}
public static int? ShowTareCorrectionDialog(int actualTare, int? targetTare = null) {
var d = new TareCorrectionDialog(actualTare, targetTare);
return d.ShowDialog() == true ? d.TargetTare - d.ActualTare : null;
}
public static (string?, int[])? ShowDeliverySplittingDialog(Delivery delivery) {
var d = new DeliverySplittingDialog(delivery);
return d.ShowDialog() == true ? (d.MgNr?.ToString() ?? d.LsNr, d.Weights ?? []) : null;