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> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| styles | ||
| middleware.ts | ||
| test-setup.ts | ||