Skip to content

Dashboard

The Vendor Dashboard provides a comprehensive overview of business performance, revenue metrics, and recent activity.

Overview

The dashboard displays key performance indicators tailored to the user's role:

  • Owners/Managers: Full business metrics
  • Cashiers: Till-specific summary
  • Accountants: Financial overview

Dashboard Components

Revenue Summary

┌─────────────────────────────────────────────────────────┐
│                    Today's Revenue                       │
│                      E 12,450.00                        │
│                    ▲ 15% vs yesterday                   │
├─────────────────────────────────────────────────────────┤
│  POS Payments    Top-ups        Withdrawals    Fees     │
│  E 8,200         E 3,500        E 750          E 120    │
└─────────────────────────────────────────────────────────┘

Metric Cards

MetricDescription
Today's RevenueTotal income for current day
TransactionsNumber of transactions today
Active TillsCurrently open tills
PendingTransactions awaiting completion

Time Period Filters

PeriodData Shown
TodayCurrent day
WeekLast 7 days
MonthLast 30 days
CustomDate range picker

Dashboard Data

FieldDescription
totalRevenueTotal revenue for period
posRevenueRevenue from POS payments
topupRevenueRevenue from top-ups
withdrawalRevenueRevenue from withdrawals
feeRevenueFee income
transactionCountNumber of transactions
activeTillsActive till count
pendingCountPending transactions
recentTransactionsList of recent transactions
revenueChartChart data points

Revenue Breakdown

By Transaction Type

TypeIconColor
POSpoint_of_saleBlue
Top-upsadd_circleGreen
Withdrawalsremove_circleOrange
FeespercentPurple

Revenue Chart

Line chart showing revenue over time with:

  • Curved lines
  • Data points
  • Shaded area below line
  • Grid and axis labels

Recent Activity

Transaction List

Shows the 10 most recent transactions:

ColumnDescription
TypePayment/Topup/Withdrawal
CustomerUser name or phone
AmountTransaction value
TimeTimestamp
StatusCompleted/Pending/Failed

Quick Actions

Dashboard quick access buttons:

ActionPermissionNavigation
New PaymentposPOS screen
Top-uptopupTop-up screen
WithdrawalwithdrawWithdrawal screen
View AlltransactionsTransaction list

Till Summary (Sub-users)

Cashiers see their assigned till's performance:

FieldDescription
Till NameName of assigned till
BalanceCurrent float balance
TransactionsTransaction count
Session StartWhen session started

Auto-Refresh

Dashboard refreshes automatically every 30 seconds to show current data.

API Endpoints

EndpointMethodDescription
/vendor/dashboardGETDashboard metrics
/vendor/dashboard/chartGETRevenue chart data
/vendor/transactions/recentGETRecent transactions
/vendor/tills/summaryGETTill summaries
FilePurpose
lib/screens/dashboard/dashboard_screen.dartDashboard screen
lib/controllers/dashboard_controller.dartDashboard controller
lib/widgets/revenue_summary.dartRevenue summary widget
lib/widgets/revenue_chart.dartRevenue chart widget
lib/widgets/recent_activity.dartRecent activity widget
lib/widgets/quick_actions.dartQuick actions widget

Internal use only - Keshless Payment Platform