PaymentVariantsWindow: Allow members to have no IBAN

This commit is contained in:
2024-02-23 16:24:09 +01:00
parent 04199376d2
commit 958fbaae50
3 changed files with 12 additions and 3 deletions

View File

@ -15,6 +15,7 @@ namespace Elwig.Models.Dtos {
public static IEnumerable<Transaction> FromPaymentVariant(PaymentVar variant) {
return variant.Credits
.Where(c => c.Member.Iban != null)
.OrderBy(c => c.TgNr)
.Select(c => new Transaction(c))
.ToList();