This commit is contained in:
1 parent
4a7c95e250
commit
8a61747538
3 files changed
+8
-6
No files matched your search
@@ -443,7 +443,7 @@ namespace Elwig.Services {
|
||||
var originalMemberKgNr = oldDelivery?.Member.DefaultKgNr;
|
||||
|
||||
var date = DateOnly.ParseExact(vm.Date!, "dd.MM.yyyy");
|
||||
int? newLnr = (deliveryNew || dateHasChanged) ? await ctx.NextLNr(date) : null;
|
||||
int? newLnr = (deliveryNew || dateHasChanged) ? await ctx.NextLNr(date, vm.Branch!.ZwstId) : null;
|
||||
string? newLsNr = (newLnr != null) ? Utils.GenerateLsNr(date, vm.Branch!.ZwstId, newLnr.Value) : null;
|
||||
|
||||
string? newTimeString = null;
|
||||
|
||||
Reference in new issue
Block a user