19 Commits

Author SHA1 Message Date
78ff190789 feat(credit): redesign credit limit UI with dashboard, overview and management views
- Add hub.ui as main entry with stat cards (total/used/available/usage%)
- Add credit_overview.ui for user's own credit visualization with progress bars
- Add credit_manage.ui for distributor sales to manage customer credits
- Add set_credit_form.ui and set_customer_credit.dspy for credit adjustment
- Add credit_summary.dspy API for stats data
- Enhance creditlimit.py with get_credit_stats, get_my_credit_list, get_all_customer_credits
- Register new functions in init.py with ServerEnv
2026-05-30 21:00:27 +08:00
5da6ddd7d5 feat: expose credit limit functions via ServerEnv and register RBAC paths 2026-05-28 22:39:48 +08:00
16163ecdc3 feat: add accounting module stat cards - total balance, daily/monthly consumption, account count
- Create stats.py with get_accounting_stats() helper function
- Add 4 stat widgets: stat_total_balance, stat_today_consumption, stat_month_consumption, stat_account_count
- Update index.ui to display stat cards row above navigation cards
- Register get_accounting_stats in load_accounting()
2026-05-25 18:40:40 +08:00
202fe6b578 bugfix 2026-05-14 17:45:56 +08:00
ef67f833f3 bugfix 2026-01-05 17:53:45 +08:00
6a1b09269e bugfix 2026-01-04 16:55:47 +08:00
4265a0659a bugfix 2026-01-04 15:42:16 +08:00
13e7ae95d6 bugfix 2025-12-26 18:26:01 +08:00
2de5c8340d bugfix 2025-12-25 16:56:45 +08:00
0941401a12 bugfix 2025-12-25 16:55:53 +08:00
d38368b3ac Merge branch 'main' of git.opencomputing.cn:yumoqing/accounting 2025-12-25 15:18:08 +08:00
d44f6f74cd bugfix 2025-12-25 15:17:48 +08:00
yumoqing
9ec0754cae bugfix 2025-12-17 08:00:24 +08:00
yumoqing
91a1153181 bugfix 2025-12-17 07:58:49 +08:00
yumoqing
058172c52a bugfix 2025-12-17 07:55:25 +08:00
ec250a1593 bugfix 2025-12-16 14:51:59 +08:00
ebe390509b bugfix 2025-12-15 14:47:06 +08:00
44758bf2b1 bugfix 2025-12-15 11:50:16 +08:00
6faf88b224 first commit 2025-07-16 14:32:14 +08:00