We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45c2867 commit b888b92Copy full SHA for b888b92
strategies/sw_balance.py
@@ -25,6 +25,6 @@ def create_transactions(self, exp: Expense, myshare: ExpenseUser, data: list[str
25
balance_txn['destination_name'] = paid_txn['destination_name']
26
balance_txn['type'] = "withdrawal"
27
balance_txn['description'] = f"Balance transfer for: {paid_txn['description']}"
28
- balance_txn = self._apply_transaction_amount(balance_txn, exp, -balance)
+ balance_txn = self._apply_transaction_amount(balance_txn, exp, -float(balance))
29
30
return [paid_txn, balance_txn]
0 commit comments