06/03 Optimize codes, move account action buttons to Accounts page

This commit is contained in:
2026-06-03 10:21:14 -04:00
parent daeea836d0
commit 395a2d9535
4 changed files with 132 additions and 135 deletions
+3
View File
@@ -294,6 +294,9 @@ def full_resync(teller_account_id):
f'Next sync will fetch the last 90 days — duplicates will be skipped automatically.',
'info'
)
next_url = request.form.get('next', '')
if next_url and next_url.startswith('/'):
return redirect(next_url)
return redirect(url_for('teller.index'))