From 22129ecbec7c79e5bf3b569ee8a6aba8d3d7f9e3 Mon Sep 17 00:00:00 2001 From: gy9vin Date: Tue, 30 Dec 2025 02:15:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B8=D0=BD=D0=B8=D1=84=D0=B8=D0=BA?= =?UTF-8?q?=D1=81=20=D0=B2=20=D0=BE=D1=82=D0=BB=D0=B0=D0=B4=D0=BA=D0=B5=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D0=BA=D1=83=D1=80=D1=81=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/handlers/admin/contests.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/handlers/admin/contests.py b/app/handlers/admin/contests.py index 22a35595..649f9180 100644 --- a/app/handlers/admin/contests.py +++ b/app/handlers/admin/contests.py @@ -893,7 +893,6 @@ async def debug_contest_transactions( deposit_total = debug_data.get('deposit_total_kopeks', 0) // 100 subscription_total = debug_data.get('subscription_total_kopeks', 0) // 100 - grand_total = deposit_total + subscription_total lines = [ "🔍 Отладка транзакций конкурса", @@ -906,12 +905,9 @@ async def debug_contest_transactions( f"⚠️ Отфильтровано (вне периода): {debug_data.get('filtered_out', 0)}", f"📊 Всего событий в БД: {debug_data.get('total_all_events', 0)}", "", - "💰 РАЗБИВКА ПО ТИПАМ ТРАНЗАКЦИЙ:", - f" 📥 Пополнения баланса (DEPOSIT): {deposit_total} руб.", - f" 🛒 Прямые покупки (SUBSCRIPTION): {subscription_total} руб.", - f" 📊 ИТОГО: {grand_total} руб.", - "", - f"💸 Сумма вне периода: {debug_data.get('total_outside_period_kopeks', 0) // 100} руб.", + "💰 СУММЫ:", + f" 📥 Пополнения баланса: {deposit_total} руб.", + f" 🛒 Покупки подписок: {subscription_total} руб.", "", ]