DeliveryAdminWindow: Implement using of DeliveryExtractionDialog

This commit is contained in:
2023-08-29 10:51:39 +02:00
parent 93d4365d36
commit a98bc3ae4a
5 changed files with 92 additions and 12 deletions

View File

@ -283,5 +283,9 @@ namespace Elwig.Helpers {
),
sum => sum.Kmw
);
public static string GenerateLsNr(Delivery d) => GenerateLsNr(d.Date, d.ZwstId, d.LNr);
public static string GenerateLsNr(DateOnly date, string zwstid, int lnr) => $"{date:yyyyMMdd}{zwstid}{lnr:000}";
}
}