Super Admin: Commission Dashboard & Revenue Tracking #126

Open
opened 2026-07-09 14:23:38 +00:00 by NW · 0 comments
Owner

Overview

Create a dedicated super admin commission dashboard that shows revenue tracking, commission calculations per shop/market, and payment history.

Current State

  • Commission is managed on /wallets page (owner summary section)
  • Simple commission rate + payment recording
  • No per-shop breakdown or revenue analytics

Requirements

  1. Dedicated commission page: /commission route visible only to super admins
  2. Revenue overview: Total revenue, pending commission, paid commission, trend charts
  3. Per-shop/market breakdown: Track which shops generate how much commission
  4. Payment history with charts: Visual timeline of commission payments
  5. Auto-calculate commission: Based on configured percentage of total wallet balances
  6. Export commission reports: CSV export of commission data
  7. Commission alerts: Configurable thresholds when commission is overdue
  8. Multi-currency commission display: Show commission in BTC/ETH/USDT equivalent

Acceptance Criteria

  • /commission route accessible only to super admins
  • Dashboard shows total balances, commission due, and payment history
  • Chart.js or ApexCharts integration for visual analytics
  • Payment recording form works and persists
  • Export functionality produces downloadable CSV

Technical Notes

  • Extend commission_payments table or create new tables for per-shop tracking
  • Use existing WalletUtils.getCryptoPrices() for multi-currency conversion
  • Consider shops table for multi-shop support
## Overview Create a dedicated super admin commission dashboard that shows revenue tracking, commission calculations per shop/market, and payment history. ## Current State - Commission is managed on /wallets page (owner summary section) - Simple commission rate + payment recording - No per-shop breakdown or revenue analytics ## Requirements 1. Dedicated commission page: /commission route visible only to super admins 2. Revenue overview: Total revenue, pending commission, paid commission, trend charts 3. Per-shop/market breakdown: Track which shops generate how much commission 4. Payment history with charts: Visual timeline of commission payments 5. Auto-calculate commission: Based on configured percentage of total wallet balances 6. Export commission reports: CSV export of commission data 7. Commission alerts: Configurable thresholds when commission is overdue 8. Multi-currency commission display: Show commission in BTC/ETH/USDT equivalent ## Acceptance Criteria - [ ] /commission route accessible only to super admins - [ ] Dashboard shows total balances, commission due, and payment history - [ ] Chart.js or ApexCharts integration for visual analytics - [ ] Payment recording form works and persists - [ ] Export functionality produces downloadable CSV ## Technical Notes - Extend commission_payments table or create new tables for per-shop tracking - Use existing WalletUtils.getCryptoPrices() for multi-currency conversion - Consider shops table for multi-shop support
NW added this to the Super Admin Panel & Product Evolution milestone 2026-07-09 14:23:38 +00:00
Sign in to join this conversation.