Commit Graph

18 Commits

Author SHA1 Message Date
seb
5e13b8f9cd no redux 2026-09-22 07:20:31 +02:00
seb
536e7b1e2a u 2026-09-21 20:21:57 +02:00
seb
2046f96768 supplierAutomat 2026-09-21 10:55:17 +02:00
seb
4011ebfc61 nav 2026-09-19 18:33:27 +02:00
seb
795043fe99 feat(article): implement articlesupplier editor tab
- ApiClient: add getSuppliers, addSupplier, updateSupplier,
  orderSuppliers, deleteSupplier on article namespace
- api/index.js: expose same methods in legacy http client
- StorageManager: add #supplierWatchers Map and watchArticleSuppliers()
  backed by article-<sku> SSE signal; wired up as article.supplierWatch
- ArticleTileTab: pass article prop to ArticleSupplierTab
- ArticleSupplierDialog (new): dialog to assign / edit a supplier link
  (supplier autocomplete, Lief.-SKU, VPE, stock, EK Netto + MwSt.)
- ArticleSupplierTab: full supplier management table with reordering
  (up/down arrows → PUT /supplier/order), inline edit and delete,
  stock badge, purchase price display and empty state
2026-09-17 23:37:41 +02:00
seb
87acdd929e Add Kundennummer/Nummernkreise settings and settings dialog.
Add number & setting API endpoints, StorageManager caches, and a Settings
dialog (tabs for settings keys and number ranges) reachable from the user
menu. Show Kundennummer and creation date in the Kunde list, and refactor
Neuer Kunde to show an auto-generated number with group select.
2026-08-08 09:03:44 +02:00
seb
4896b1dc36 Add shared Manifest UI for delivery, quote, and order.
Wire quote/order API clients and routes, then unify list/create/edit behind ManifestList/Form tiles so Lieferungen and Auftrag share one stack.
2026-08-06 20:08:56 +02:00
seb
27fd5d3e94 Add Kunde CRUD with addresses/contacts, delivery edit, and Auftrag sub-nav.
Wire customergroup/entity APIs, Lieferungen detail editing, and Angebot/Bestellung/Ausliefern/Retoure placeholders.
2026-08-06 07:38:23 +02:00
seb
1ee29399ff Add Lieferungen section with supplier CRUD and delivery create/list.
Wire /lieferung sub-nav (list, neu, lieferanten) to supplier and delivery APIs.
2026-08-06 05:32:59 +02:00
seb
d8b48d96e1 u 2026-08-06 00:32:22 +02:00
seb
caf08a3262 u 2026-08-05 20:15:39 +02:00
seb
bbec785d7c i 2026-08-05 19:11:12 +02:00
seb
4352a02d4e Gate article detail on a store-backed cache so the view paints once.
Sku page loads/caches the article before mounting ArticleView; the view reads sync from StorageManager instead of fetching again.
2026-08-05 17:31:12 +02:00
seb
198e800fd3 sotre 2026-08-05 17:01:42 +02:00
seb
c1545b6114 Have historyWatch report errors via notifyError instead of an onError callback. 2026-08-05 09:54:33 +02:00
seb
44d69e541c Watch article history over SSE so the tab stays current while open. 2026-08-05 09:48:30 +02:00
seb
60e6858fd5 Show article history in a table via GET /article/{sku}/history. 2026-08-05 09:35:47 +02:00
seb
debd246012 u 2026-08-05 08:48:12 +02:00