Skip to content

Commit

Permalink
fixup! Enable export of non-attributable transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
FestplattenSchnitzel committed Mar 16, 2024
1 parent ec51490 commit 7a23030
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pycroft/lib/finance/retransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from sqlalchemy import select
from sqlalchemy.orm import joinedload

from pycroft import config
from pycroft.helpers.utc import ensure_tz
from pycroft.model import session
from pycroft.model.finance import BankAccountActivity
Expand All @@ -23,14 +24,14 @@ def get_activities_to_return() -> Sequence[BankAccountActivity]:


def generate_activities_return_sepaxml(activities: list[BankAccountActivity]) -> bytes:
config = {
"name": "Studierendenrat der TU Dresden",
"IBAN": "DE61850503003120219540",
"BIC": "OSDDDE81",
transfer_config: dict = {
"name": config.membership_fee_bank_account.owner,
"IBAN": config.membership_fee_bank_account.iban,
"BIC": config.membership_fee_bank_account.bic,
"batch": False,
"currency": "EUR",
}
sepa = SepaTransfer(config, clean=False)
sepa = SepaTransfer(transfer_config, clean=False)

for activity in activities:
payment = {
Expand Down

0 comments on commit 7a23030

Please sign in to comment.