Add balance transactions to user admin panel

Introduces BalanceTransaction model to track per-user balance history
(prepayments, refunds, partner credits). Admin can add/delete transactions;
current balance is computed as the running sum.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-07 09:24:25 +05:00
parent 48721759d3
commit 93e74951a7
8 changed files with 593 additions and 13 deletions
+3
View File
@@ -45,3 +45,6 @@ yarn-error.log*
next-env.d.ts
/src/generated/prisma
# Claude Code local plugins (external git repos, не коммитим)
.claude/plugins/