SJCoetz
da0a689507
feat(stock-quick-draft): add updateQuickDraftLine service
...
Adds a TDD'd updateQuickDraftLine function that PATCHes
quantity and/or cost_price on a stock_purchase_items row.
Returns the same discriminated-union shape as its sibling
add/remove functions. No schema changes.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Orca <help@stably.ai>
2026-07-31 13:38:59 +02:00
SJCoetz
6329a100e7
fix(stock-quick-draft): isolate new-SKU suppliers, fix empty-string pick, service layer
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 23:31:21 +02:00
SJCoetz
98e1f25fd5
fix(stock-quick-draft): supplier-name schema + remove dead resolvePb + pagination cap
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 23:14:11 +02:00
SJCoetz
8acb6dcf95
fix(stock-quick-draft): dedicated /drafts endpoint with nested shape, browser-auth
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 23:11:27 +02:00
SJCoetz
249a78a7ef
fix(stock-quick-draft): add trailing newlines
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 22:06:24 +02:00
SJCoetz
f7de9d44fd
feat(stock-quick-draft): removeQuickDraftLine
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 22:04:37 +02:00
SJCoetz
0ed89aac10
fix(stock-quick-draft): escape filter strings + handle findOrCreateOpenDraft failures
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 22:02:39 +02:00
SJCoetz
99374599d7
feat(stock-quick-draft): addQuickDraftLine with find-or-create-open-draft
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 21:55:02 +02:00
SJCoetz
3eef60f34c
feat(stock-quick-draft): getStockItemSupplierHistory
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 21:50:04 +02:00
SJCoetz
eb64f03db6
feat(stock-quick-draft): types + searchStockItemsForQuickDraft
...
Co-authored-by: Orca <help@stably.ai>
2026-07-30 21:38:58 +02:00