WFDASH-WEBAPP/src
Dave 42a683aec1 feat(orders): compute item intel right after the AI fills an order line
An order line the AI filled from its quote now gets its Item Intel
immediately, so the blue price-check marker on the order Process page
has something to show.

The anchor is the SKU the line ended up with. The quote assistant
deliberately keeps the POS SKU off the line's own `sku` column — it
lives on the quote line's `ai_fill` — so that is the fallback when the
order line has no SKU of its own. `quote_items.ai_fill` is only
projected once the schema shows the column exists, because PocketBase
rejects a projection naming a column the collection does not have.

The step is additive and never throws: a failure is logged and the line
still counts as filled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:28:04 +02:00
..
app feat(orders): tint New-tab cards by the AI quote match 2026-10-24 20:52:59 +02:00
components feat(orders): purple review for AI-filled order lines 2026-10-24 14:25:11 +02:00
lib feat(orders): compute item intel right after the AI fills an order line 2026-10-24 21:28:04 +02:00
styles fix(pos): dead discount toggle + stale discount figure, lift dark palette 2026-10-12 23:17:57 +02:00
middleware.ts
test-setup.ts