# FIX-159 — Architect

## Problem
reporting/summary and sales endpoints return 500. Root cause: CTE `filtered_orders` in `reporting-service.ts` did not include `shipping_cents` in its SELECT list, but the outer query references `o.shipping_cents`. PG raises "column o.shipping_cents does not exist".

## Fix
Added `o.shipping_cents` to the SELECT list of all 3 CTEs (summary/sales/products queries).
