Standalone financial reporting screen for shipped OpenCart orders. Choose a from/to date range,
a time-period bucket (Order, Day, Week, Fortnight, Month, Quarter, Year), and a metric type
(order count, subtotals, shipping, shipping profits, gross profit, eBay profit, or order totals).
The script aggregates values into a ChartPHP bar chart and renders detail tables beneath it.
- Date range — month/day/year dropdown selectors define the shipped-order window (`order_status_id = 3`).
- Time period — controls how orders are grouped on the chart X-axis.
- Metric — radio buttons choose count, subtotal, shipping, profit, or total values.
- Detail panels — period summaries and profit drill-downs appear in the tables below the chart; use the period list to jump between summary blocks.
- Received products — sidebar lists purchase-order receipts (`pd_purchase_order_details`) for the same date span.
-
Warning Rows
Purchase Orders highlighted in yellow contain one or more line-item products where the quantity was recorded as 0 due to an internal ingestion data sync exception.