{filteredOrders.length} order{filteredOrders.length !== 1 ? "s" : ""}
Total
{isLoading ?
Pending
{isLoading ?
Picked Up
{isLoading ?
No orders found
Try adjusting your filters
| 0} onChange={toggleSelectAll} className="h-4 w-4 rounded border-stone-300 text-[var(--admin-accent)] focus:ring-[var(--admin-accent)] cursor-pointer" /> | Order | Customer | Stop | Date | Items | Total | Status |
|---|---|---|---|---|---|---|---|
| toggleOrderSelection(order.id)} className="h-4 w-4 rounded border-stone-300 text-[var(--admin-accent)] focus:ring-[var(--admin-accent)] cursor-pointer" /> | {shortId(order.id)} |
{order.customer_name}
{order.customer_phone && {order.customer_phone} }
|
{order.stops ? ( {order.stops.city}, {order.stops.state} ) : ( — )} | {formatDate(order.created_at)} | {order.order_items?.length ?? 0} | {formatCurrency(order.subtotal)} |
{order.pickup_complete ? (
|
Showing {(page * PAGE_SIZE) + 1} to {Math.min((page + 1) * PAGE_SIZE, filteredOrders.length)} of {filteredOrders.length}
Manual entry for testing / phone orders
No products loaded for this brand. You can still enter custom items if the action supports it.
)} {newOrderItems.length === 0 && (No items yet. Use the selector above.
)} {newOrderItems.length > 0 && (