This commit is contained in:
raufakchurin
2025-10-11 18:06:49 +05:00
parent a3406451cb
commit bdade47758
13 changed files with 489 additions and 11 deletions
+1 -2
View File
@@ -163,8 +163,7 @@ async def show_statistics_handler(callback: types.CallbackQuery,
f"\n<b>{_('admin_stats_recent_payments_header')}</b>")
for payment in last_payments_models:
status_emoji = "" if payment.status == 'succeeded' else (
"" if payment.status == 'pending'
or payment.status == 'pending_yookassa' else "")
"" if payment.status in ['pending', 'pending_yookassa', 'pending_freekassa'] else "")
user_info = f"User {payment.user_id}"
if payment.user and payment.user.username: