Automatic Purchases (Dashboard)
Access Prerequisites
- Permission (module):
viewGeneralJournal - License/Feature: None.
- Menu container: GENERAL → group Dashboard
What it is / when to use
Analytical panel (read-only) of the purchase orders processed by the BackOffice — Token and NFT purchases settled via balance (Fiat or Crypto). Unlike the Manual Payments panel (which looks at PIX/TED deposits), the focus here is the purchase order itself. Use it to track purchase volume and the breakdown between settlement method (Fiat × Crypto) and asset type (Token × NFT).
Prerequisites
- Permission:
viewGeneralJournalregistered for the role (double permission — CPM enum + module in DB). - License/Feature: None.
- Dependencies on other screens: Reflects the purchase order history (
OrderService.getAllBOOrders).
Step by step
- Go to Dashboard → Automatic Purchases.
- Wait for the orders to load.
- Analyze the cards and charts.
Filters and columns
View-only screen — no editable fields. Indicators:
| Indicator / Chart | What it shows | Data source |
|---|---|---|
| Number of payments | Total orders in the period | depositsList.length |
| Number of Token / NFT purchases | Orders with unit_purchased (Token) vs assetId (NFT) | classification by order field |
| Total in Tokens / NFTs | Sum of totalAmount by type | aggregation in BigNumber |
| Total payments | Sum of all totalAmount | aggregation |
| Payment type (pie) | Fiat × Crypto | classification by paymentMethod: TOKEN, CLEAR_LEDGER, COIN_PAYMENTS count as Crypto; the rest as Fiat |
| Tokens vs NFT (pie) | Token × NFT proportion | totals by type |
| History (bar) | Total by month | grouping by month of createdAt |
Business rules / considerations
Attention
- Fiat × Crypto classification is by payment method: orders settled with
TOKEN,CLEAR_LEDGERorCOIN_PAYMENTSare counted as Crypto; any other method is counted as Fiat. If a new settlement method is added, it defaults to "Fiat" until the classification is updated. - Error ≠ zero: an error page indicates the order service is unavailable.
- Financial values: totals sum
totalAmountfrom orders usingBigNumberbefore plotting. Use as an analytical indicator.