Commit 8bf5e059 authored by ntome's avatar ntome Committed by Romain Bignon
Browse files

[bred] card transactions on card account are deferred transactions

parent c47d0f4f
......@@ -241,6 +241,10 @@ def get_history(self, account, coming=False):
# coming transactions have a random uuid id (inconsistent between requests)
t.id = ''
t._coming |= (t.date > today)
if t.type == Transaction.TYPE_CARD and account.type == Account.TYPE_CARD:
t.type = Transaction.TYPE_DEFERRED_CARD
transactions.append(t)
# Transactions are unsorted
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment