CreditNoteDeliveryData: Include WeighingModifier only if delivery modifiery are considered
Test / Run tests (push) Successful in 2m12s

This commit is contained in:
lorenz.stechauner committed 2025-05-20 13:02:05 +02:00
1 parent 0dff3986b7
commit 14e7887789
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -671,7 +671,7 @@ namespace Elwig.Windows {
var avnr = details.Item2;
try {
cnData[(year, avnr)] = (
await CreditNoteDeliveryData.ForPaymentVariant(ctx.CreditNoteDeliveryRows, ctx.Seasons, year, avnr),
await CreditNoteDeliveryData.ForPaymentVariant(ctx.CreditNoteDeliveryRows, ctx.PaymentVariants, year, avnr),
await ctx.MemberPayments.Where(p => p.Year == year && p.AvNr == avnr).ToDictionaryAsync(c => c.MgNr),
BillingData.FromJson((await ctx.PaymentVariants.FindAsync(year, avnr))!.Data)
);