From 4588a5985fc6583496e57354815704e65f67bb80 Mon Sep 17 00:00:00 2001 From: Abdelaziz Elrashed Date: Tue, 19 Nov 2024 08:39:51 +0300 Subject: [PATCH] =?UTF-8?q?=D8=AD=D9=81=D8=B8=20=D8=A7=D9=84=D8=B9=D9=85?= =?UTF-8?q?=D9=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zakat/zakat_tracker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zakat/zakat_tracker.py b/zakat/zakat_tracker.py index 4d4cd22..70f4e72 100644 --- a/zakat/zakat_tracker.py +++ b/zakat/zakat_tracker.py @@ -3194,6 +3194,9 @@ def _transfer(self, unscaled_amount: float | int | Decimal, from_account: int, t print('target_amount', target_amount) # Perform the transfer new_age = Helper.int_to_iso8601(Helper.iso8601_to_int(age), extra_ms=1) + if debug: + print(f'old_age = {age}') + print(f'new_age = {new_age}') if self.raw_sql: box = db.execute(f''' SELECT id, rest, capital