fix(деньги): взносы на счёт входят в поступления, карточка сходится

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
anor
2026-11-10 01:34:29 +10:00
co-authored by Claude Code
parent bfdb7ce3d2
commit 33c289845d
9 changed files with 70 additions and 16 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ DASH = {"user": "boss@x", "generated_at": 1794000000, "last_visit": None,
"attention": {"failures": 0, "limit_hits": 0, "unpriced": 0}}
MONEY = {"period_days": 30, "revenue_rub": 100, "refunded_rub": 0, "cost_rub": 50,
"flow_rub": 50, "charged_rub": 80, "accounts_total_rub": 200,
"accounts_count": 1, "unpriced": 0}
"accounts_count": 1, "unpriced": 0, "topups_rub": 0}
# Один закрытый месяц — тот случай, на котором графики разъезжались: ширина viewBox
# зависела от числа точек, и при одной точке SVG растягивался в многоэкранную полосу.
FIN = {"months": [{"month": "2026-11", "revenue_rub": 0, "cost_rub": 714.31}], "days": 30}