Profit per Item Menu
Purpose
Profit per Item shows item-level profit across sales within a selected date range. Use it to:
- Review profit per invoice (total sales, total cost, total profit).
- Drill down into profit per item (qty, sell/subtotal, cost, profit).
- Search by invoice/reference, customer, or cashier.
Header
- Title: Profit per Item
- Loaded count: shows something like “Loaded X of Y invoices”.
- Date range button: shows the active range (example
2026-01-02 - 2026-01-02).
Search
- Placeholder: “Search invoice / customer / cashier”
- Voice search may be available (🎤). After voice input, the list reloads.
Date Range Filter
- Tap the date range.
- Pick start and end dates.
- Tap Apply.
Note: if time is not specified, the app usually assumes:
- Start:
00:00:00 - End:
23:59:59
Report List (Per Invoice)
Each card represents one invoice/sale:
- Customer, date, reference, cashier/created-by (when available)
- Totals:
- Total Sales
- Total Cost
- Total Profit
Item Details (Inside an Invoice)
Below the invoice summary, item rows typically show:
- Product name and code (if any)
- Qty + unit
- Values:
- Sell (subtotal)
- Cost (unit cost)
- Profit (per item)
Note about txn_kind
Some lines may represent service/digital transaction kinds (for example tarik_tunai, transfer_tunai, topup, digital). In those cases:
- The displayed “qty” may represent a value/amount, not a physical quantity.
Load More
Scrolling near the bottom loads the next page when more data exists.
Refresh
Pull down (pull-to-refresh) to reload the report using current filters.
If an Error Occurs
If you see “Failed to load report”:
- Tap “Try again”.
- Confirm connection and session.
- Narrow the date range to reduce load.
Tips
- Start with short ranges (today / last 7 days) for faster analysis.
- Use search to find a specific invoice when auditing complaints or discrepancies.
- Watch
txn_kindlabels to avoid misreading non-stock lines.