When deciding to put bank info on invoices, only look at active methods
authorMagnus Hagander <magnus@hagander.net>
Fri, 11 Apr 2025 08:49:09 +0000 (10:49 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 11 Apr 2025 08:51:03 +0000 (10:51 +0200)
commitba184020e65916407ec9aba14578c8fc475a273a
treecc7f8668a49d8673527ce70360fd8cad1272b7d2
parent47a09234ac1b5ea14e169bdf29cbbdd9ce310747
When deciding to put bank info on invoices, only look at active methods

If a payment method that had bank info on it was added to an invoice, we
would include the bank data on the PDF even if the method was not marked
as active. It would still not show on the webpage of available methods,
but if someone forwarded the PDF alone for payment, they would get the
bank info for an inactive method. So fix that.
postgresqleu/invoices/util.py