Skip to content

Commit

Permalink
fixed incorrect payment status for Flex transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rkw committed Jun 18, 2024
1 parent e36816a commit acdaa88
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.1.5 - 18/06/2024

- fixed incorrect payment status for Flex transactions

## 0.1.4 - 14/06/2024

- fixed incorrect payment status for Flex transactions
Expand Down
1 change: 1 addition & 0 deletions monzo_utils/lib/monzo_payments.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ def process_payment_list(self, payment_list, annual):
for payment in payments:
if summary:
payment.cache['last_payment'] = summary.last_payment
payment.cache['last_date'] = summary.last_date

if payment.status in ['DUE','PAID']:
total_due_this_month += payment.display_amount * 100
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup

setup(name='monzo-utils',
version='0.1.4',
version='0.1.5',
description='Monzo Utils',
author='Mark Wadham',
url='https://github.com/m4rkw/monzo-utils',
Expand Down

0 comments on commit acdaa88

Please sign in to comment.