Commit Graph

49 Commits

Author SHA1 Message Date
seb
ccb81cdb26 x 2026-10-27 06:48:35 +00:00
seb
e9b4ac5d79 u 2026-10-22 14:39:45 +02:00
seb
ce5da810a5 u 2026-10-17 23:34:29 +02:00
seb
59395f95d8 u 2026-10-17 02:47:20 +02:00
seb
7635821dad u 2026-10-16 22:09:12 +02:00
seb
2e961252f7 u 2026-10-12 17:29:29 +02:00
seb
7f4092971d u 2026-10-11 17:26:11 +02:00
seb
ba376686f3 u 2026-10-09 21:37:42 +02:00
seb
00cf5b418e u 2026-10-09 20:05:25 +02:00
seb
69eb2c9a0d u 2026-10-08 01:37:26 +02:00
seb
4718cb5726 u 2026-10-04 21:22:05 +02:00
seb
89fe6e6451 u 2026-10-04 09:33:27 +02:00
seb
3b74c12f4e u 2026-10-03 23:13:40 +02:00
seb
84e547660e u 2026-10-01 17:40:04 +02:00
seb
0cafa11a32 u 2026-09-27 21:01:30 +02:00
seb
e7f92ebef8 u 2026-09-26 23:06:05 +02:00
seb
e491ecfa47 u 2026-09-26 07:34:37 +02:00
seb
f8f61a1212 u 2026-09-24 23:26:25 +02:00
seb
9e9d3154ca file meta 2026-09-18 05:19:47 +02:00
seb
e3d30b296b feat: add size, created, and modified columns to file table and manifestattachment APIs 2026-09-18 01:45:27 +02:00
seb
cfb7f86f0e feat: add hash and thumbnail columns to file, sort column and order method to manifestattachment 2026-09-18 01:21:54 +02:00
seb
980eda629b u 2026-09-17 12:36:37 +02:00
seb
af52ff595f feat(articlesupplier): add sort column, reorder method, and update queries and schema 2026-09-17 12:00:41 +02:00
seb
1fafeeb5f2 refactor(manifestLines): standardize on taxrate and change schema type to float 2026-09-17 11:02:44 +02:00
seb
8f23dd8c75 feat: manage files via manifestattachment with auth and cascade trigger, format API.md method signatures 2026-09-16 16:49:59 +02:00
seb
7b3d2141fa feat(schema): rename manifestarticle customname to name, add pu, and use taxrate 2026-09-16 10:05:24 +02:00
seb
00bbd2e764 feat(schema): replace manifestarticle article_id FK with sku, rename articlesupplier sku/stock fields 2026-09-15 09:24:43 +02:00
seb
e56f725bd9 feat(companysetting): add writeonly column and mask values for GUI 2026-09-15 08:48:24 +02:00
seb
2e16a22c99 feat(schema): add articlesupplier table and manifestarticle custom sku/name fields 2026-09-14 22:43:03 +02:00
seb
53acc6a8ff Use dark color scheme for schema graph in browser preview 2026-08-08 10:08:56 +02:00
seb
29099b2a16 feat(manifest): add externalNumber reference to quote/order/delivery
- Add `external_number NVARCHAR(100)` column to the `manifest` table.
- Thread `externalNumber` through manifestDoc and delivery SQL (list,
  header, create, update).
- Include `externalNumber` in shapeSummary and quote/order/delivery
  create/update/list/getById handlers (optional, clearable on update).
- Update README type definitions and regenerate API/schema docs.
2026-08-08 09:13:20 +02:00
seb
70e0a9ddc4 Add entity customer numbers and scope APIs via selected company.
Entity gets an optional unique-per-company number with allocate/peek/isNumberFree helpers. Company-scoped store methods no longer take companyId and resolve google_auth.selected_company instead.
2026-08-07 04:29:35 +02:00
seb
c290fe8f4b Add customergroup sort with bulk order and locked implicit names.
Reorder via customergroup.order (exact id list → sort 0…n-1); block renaming POS/Lieferanten while still allowing create/update of other groups by name.
2026-08-07 03:38:01 +02:00
seb
b095ab6199 Add quote and order stores plus ledger hash_version.
Mirror delivery on manifest for quote/order with customer entityId (excluding Lieferanten/POS), and support entity.list role=customer for pickers.
2026-08-06 19:58:35 +02:00
seb
ae549fd022 Add ledger, address/contact sort, and tighter schema-graph layout.
Replace manifestarticle.transactedamount with an append-only ledger, add sort on entity address/contact, and allow same-rank FKs with crossing-aware exits in the graph.
2026-08-06 07:39:48 +02:00
seb
3b77a1c946 Add entity address/contact tables and CRUD for entity resources 2026-08-06 05:43:50 +02:00
seb
0b7e40ac9c Add company-scoped delivery store on manifest 2026-08-06 05:32:48 +02:00
seb
4f46967f28 Add supplier CRUD on entity with Lieferanten group and entityhistory 2026-08-06 03:56:32 +02:00
seb
561ba5bb99 Store Google profile picture bytes on google_auth 2026-08-05 11:08:06 +02:00
seb
d1eb2716ae Link articlehistory to companyuser; store Google picture and sub on google_auth 2026-08-05 10:57:50 +02:00
seb
831bf52c14 Add POS terminal category visibility system
Add posterminal and posterminalcategory tables to control which categories
are visible on each POS terminal. The existence of a row in
posterminalcategory means the category is visible on that terminal.

Store methods:
- posterminal.list/upsert/delete - CRUD for terminals
- posterminal.setOn/setOff - toggle single category on a terminal
- posterminal.setOnAll/setOffAll - toggle all categories on a terminal
- posterminal.getCategoryPosterminalIds - internal, used by category tree

The category tree (getTreeForCompany) now includes a posterminalIds array
on each node listing which terminals have that category enabled.
2026-08-03 06:14:25 +02:00
seb
787e411547 Add company-scoped brand and company settings API.
brand now carries a NOT NULL company_id (unique per (company_id, name))
with brand.list/upsert/delete backed by resolveCompanyAccess. Adds
companysetting key-value store (list/get/set/delete, frontend flag).
2026-08-01 06:59:27 +02:00
seb
c839b2ba35 Regenerate schema graph for company-scoped units. 2026-08-01 06:38:31 +02:00
seb
6cc6dbb9e8 u 2026-07-31 15:36:48 +02:00
seb
99dd76075e u 2026-07-31 09:00:14 +02:00
seb
142e73a171 u 2026-07-31 05:19:14 +02:00
seb
10d1d472fd u 2026-07-31 04:48:13 +02:00
seb
6bdac7e543 u 2026-07-31 00:08:50 +02:00
seb
93e52cd513 u 2026-07-30 23:56:42 +02:00