Dashboard
Dashboard
The Dashboard is the page you land on right after signing in to the Portal at /portal/dashboard. It is a single-screen, today-only overview of how the business is doing: how many fiscal devices you have, how many are online right now, how many receipts you've issued so far today and how much revenue they add up to. Its job is to answer "is everything healthy and is the till ringing?" in one glance — anything deeper lives on the dedicated Receipts, Devices or Reports pages.
Everything on the Dashboard is scoped to the active organization you picked from the org switcher. For users whose role is not Owner or Admin (managers tied to a single shop), the data is also automatically restricted to their assigned location, so a shift manager only ever sees their own till.
The four KPI cards
The top row of the Dashboard shows four headline numbers, in this order:
- Devices — total number of fiscal devices registered in the active organization.
- Receipts Today — how many receipts have been issued today (server time).
- Revenue Today — sum of those receipts' totals, formatted in RON.
- Online Devices — how many of your devices are currently
Online(controller connected and AMEF reachable).
The Dashboard pulls today's receipts with a hard cap of 100 rows per request. When more than 100 receipts have been issued today, the Receipts Today card displays 100+ and Revenue Today is the sum of those first 100 receipts only. For exact daily, weekly or monthly totals, open Reports and read the device's Z history live — the fiscal memory is the source of truth — or filter the Receipts page by date.
100+ and the matching revenue figure are intentional — the Dashboard is built to load instantly. Reports and Receipts are where you go for full history and totals.The zero state
When your organization has no devices registered yet and no receipts for today, the Dashboard switches to its zero state:
- All four KPI cards render an em-dash (
—) instead of a number, with a tooltip "Add your first device to see data." - The Get started with E-BON onboarding card appears at the top of the page with the four steps to bring your first fiscal device online.
Follow these steps once and the zero state goes away on its own as soon as the controller app claims the device:
Download the E-BON app
Install the E-BON app from Google Play Store on your Android device.
Log in to the app
Use the same email and password you registered with on this portal.
Connect a fiscal printer
In the app, go to Settings > Add Printer and connect via Bluetooth, USB or TCP.
Verify the device in the portal
Once connected, the device will automatically appear on the Devices page.
Realtime updates and the 30-second fallback
The Dashboard subscribes to the same realtime event stream the rest of the Portal uses. When the WebSocket is connected, the four KPIs and the three side panels update live as events arrive — a newly issued receipt prepends a row to Recent Activity and increments Receipts Today / Revenue Today, a device status change updates that device's badge and last-seen timestamp, and a controller phone signing in or out adds or removes a row from the Controllers panel.
If the WebSocket is not connected (browser tab woke from sleep, network blip, proxy issue), the Dashboard automatically falls back to polling: it re-fetches devices, today's receipts, controllers and device statuses every 30 seconds. The polling stops the moment the WebSocket reconnects, so the page never double-loads. See the architecture overview for the full picture of how Portal, App and API communicate.
Recent Activity panel
The first of the three lower panels lists the last 5 receipts of the day, newest first. Each row shows the device name, the time the receipt was issued, the first 8 characters of the receipt id and the total in RON.
When today has no receipts yet, the panel shows an empty-state hint "Receipts issued today will appear here." and a View receipts button that takes you to the full Receipts page, where you can browse history and filter by date, device or location.
Device Status panel
The middle panel is a compact list of every fiscal device in the active organization with its name, a last-seen relative timestamp and the current status badge. The relative timestamp uses one of these labels:
- Just now — within the last minute.
- Xm ago — minutes.
- Xh ago — hours.
- Xd ago — days.
- Never — the device has never reported in.
- Unknown — last-seen data is missing.
A tiny pulsing dot in front of the status badge indicates that the controller's WebSocket is currently connected to the cloud (independent of the AMEF status itself).
When the organization has no devices yet, the panel shows the "No devices registered." hint and an Add device button that takes you to the Devices page.
Controllers panel
The third panel lists every E-BON controller currently connected to the cloud for this organization. For each controller you see:
- Device name — the friendly name reported by the controller phone or tablet.
- App version — the E-BON app version it is running.
- Hardware and Android version — the controller phone or tablet model and the Android release it is running.
- Connected for — how long the controller has been online, counted from the moment it connected.
- Connected printers — which fiscal printers this controller is currently driving.
Each row carries a green Online badge while the WebSocket session is live; the row disappears as soon as the controller signs out or the socket closes.
When no controller is connected, the panel shows "No E-BON controllers connected." with a Setup button. New to E-BON? Start with the Installing the app guide.
Where to next
- Manage the fiscal hardware that feeds these numbers — the Devices guide.
- Drill into individual sales — the Receipts page.
- Read the official daily totals (Z history) live from your devices — the Reports page.
- Organize devices across shops — the Locations guide.
- Wire integrations to the live event stream the Dashboard uses — the API keys guide.
- Bring your first device online end-to-end — the Integration walkthrough.
Schemas
The wire-protocol frames carried by the realtime channel — seven server→device messages, three device→server messages, and the clientMessageId boundary.
Operators
Add and manage operators (cashiers, waiters, shop managers) on a fiscal device from the Portal — Set Operator flow on the Device Detail Operations tab, with capabilities queried live from the AMEF.