From acdaa886b479fefd269ba7136ea12779eae115fc Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 18 Jun 2024 18:16:21 +0100 Subject: [PATCH] fixed incorrect payment status for Flex transactions --- CHANGELOG.md | 4 ++++ monzo_utils/lib/monzo_payments.py | 1 + setup.py | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af8d071..6671f93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/monzo_utils/lib/monzo_payments.py b/monzo_utils/lib/monzo_payments.py index e45a144..d04b713 100755 --- a/monzo_utils/lib/monzo_payments.py +++ b/monzo_utils/lib/monzo_payments.py @@ -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 diff --git a/setup.py b/setup.py index c4665d5..fbd9298 100644 --- a/setup.py +++ b/setup.py @@ -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',