order details: hide the review surface for spine-bridged retail rows
ci / lint-test (push) Successful in 58s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user