Portal Dashboard
The first page a vendor sees after logging in — high-level metrics for their organization.
Where to find it
URL: /portal/dashboard
Access: dashboard:view_all permission (admins always have access)
Cards shown
Environmental Impact
- CO2 avoided — kg of CO2 saved by reuse + recycle (vs. manufacturing new)
- Cars equivalent — CO2 ÷ 4600 (annual emissions of one car)
- Trees equivalent — CO2 ÷ 22 (trees needed to sequester)
- Weight recycled — tons of e-waste diverted from landfill
Financial
- Buyback value — total paid to clients (sum of approved quote values)
- Recycling payout — paid for recycled devices
- Repair savings — total customer savings from repairs vs. replacements
- Commerce sales — number of orders placed on the storefront
Processing status
- In process — devices currently being inspected
- Ready for sale — devices graded and listed
- Pending quotes — quotes awaiting customer approval
- Active repairs — open tickets
Charts
- Environmental impact donut (reused / recycled / repaired)
- Device processing donut (in process / ready / sold / recycled)
Quick actions
Buttons for common workflows:
- New Quote — start a buyback quote
- New Repair Quote — start a repair quote
- View Batches — batch list
- View Devices — processed devices
Data source
All metrics pull from live data:
- Devices from
ehs__inventoryjoined bysid(source) - CO2 calculations use per-device-type constants from
ehs__device_types - Quotes from
ehs__quotewith tenant-matchingclientId - Repairs from
ehs__repairsscoped bysourceId
Related features
- Reports — more detailed analytics