mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-04-29 01:00:03 +00:00
Cabinet API and WebAPI created admin balance transactions with payment_method=NULL instead of 'manual', making them invisible to sales statistics filters. Changes: - Add payment_method=PaymentMethod.MANUAL to Cabinet and WebAPI balance update endpoints - Add func.abs() to all transaction amount aggregations missing it across sales stats, dashboard stats, and reporting queries - Remove redundant Python abs() on addon_revenue (SQL func.abs already applied) - Add data migration 0044 to fix historical NULL payment_method records for admin top-ups