order details: hide the review surface for spine-bridged retail rows
ci / lint-test (push) Successful in 58s

Verdicts are the meal lane's feedback loop (loved/never steers the next
restaurant order and the nudge card warns on re-order). Bridge rows
(source='order-bridge': Amazon, eBay, Officeworks...) have no such loop,
so ItemVerdictToggle and OrderVerdict stay hidden there. The order API
now returns 'source'; OrderReceipt.platform widened to string — the
bridge writes real platform slugs beyond the meal trio.
This commit is contained in:
2026-08-10 18:02:51 +10:00
parent 502e3f563c
commit 7f8e363b5b
3 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export async function GET(
}
const row = await queryRow(
`SELECT platform, order_reference, line_items, route, subtotal, amount,
`SELECT source, platform, order_reference, line_items, route, subtotal, amount,
currency, card_last4, flags, source_email_subject, transaction_date
FROM expense_metadata
-- A card-settled order creates no transaction of its own (I5): the