Skip to content

Commit

Permalink
وضع حالة التحويل على مستوى الحساب نفسه
Browse files Browse the repository at this point in the history
  • Loading branch information
vzool committed Aug 3, 2024
1 parent 53e3844 commit 90b19e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zakat/zakat_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1267,13 +1267,14 @@ def daily_logs(self, debug: bool = False):
'total': 0,
'rows': [],
}
y[group]['transfer'] = len(logs[i]) > 1
transfer = len(logs[i]) > 1
if debug:
print('logs[i]', logs[i])
for z in logs[i]:
if debug:
print('z', z)
y[group]['total'] += z['value']
z['transfer'] = transfer
y[group]['rows'].append(z)
if debug:
print('y', y)
Expand Down

0 comments on commit 90b19e6

Please sign in to comment.