{# Orders — AI-suggested restock with approval workflow #}
| ID | Product | Qty | Reason | Confidence | Status | Created | |
|---|---|---|---|---|---|---|---|
| #{{ o.id }} | {{ o.product_name }} | {{ o.qty_str }} | {{ o.reason }} | {{ o.confidence }}% | {{ o.status }} | {{ o.created_at }} | {% if o.status_raw == 'pending' %} {% elif o.status_raw == 'approved' %} {% endif %} |