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 295586e commit da1796f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pycroft/lib/finance/retransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ def get_activities_to_return() -> Sequence[BankAccountActivity]:
.options(joinedload(BankAccountActivity.bank_account))
.filter(BankAccountActivity.transaction_id.is_(None))
.filter(BankAccountActivity.amount > 0)
.filter(
BankAccountActivity.imported_at
< ensure_tz(datetime.utcnow() - timedelta(days=14))
.filter(BankAccountActivity.imported_at < ensure_tz(datetime.utcnow() - timedelta(days=14))
)
)

Expand Down

0 comments on commit da1796f

Please sign in to comment.