Commit Graph

15 Commits

Author SHA1 Message Date
seb
37828fdef9 u 2026-09-24 23:26:50 +02:00
seb
a46e9742f4 sqlite 2026-09-22 07:25:11 +02:00
seb
15664223ee u 2026-09-20 16:33:38 +02:00
seb
dff254e923 errorlog 2026-09-20 13:14:55 +02:00
seb
49efd5f8a1 u 2026-09-17 11:46:22 +02:00
seb
57420ac0db Add company settings and number sequence API routes
- Add CompanySetting routes (list, get, set) backed by company-scoped store
- Add Number routes (list, update) for managing number sequences
- Register new store namespaces for numbers and companysetting
- Add CompanySetting and NumberSequence schemas to OpenAPI
- Regenerate API docs and index for the new routes
2026-08-08 09:01:28 +02:00
seb
cdae7b6eab Add quote and order HTTP APIs on manifest documents.
Expose store-backed CRUD for quotes and sales orders with shared ManifestLine shapes, entityId customers, and documented date semantics.
2026-08-06 19:58:25 +02:00
seb
74269cd3ef Add customergroup and entity HTTP APIs with address and contact routes.
Expose store-backed CRUD for customer groups, entities, nested addresses, and contacts, matching the documented dashdbschema contracts.
2026-08-06 07:38:05 +02:00
seb
1860f38640 Add delivery and supplier HTTP APIs with expanded response docs.
Wire store-backed CRUD for goods receipts and suppliers, and teach the API doc generator to expand $ref/allOf/array samples so route markdown shows full JSON shapes.
2026-08-06 05:32:48 +02:00
seb
a4b78ad6d5 feat: add posterminal API endpoints
- Add posterminal to STORE_NAMESPACES for timing wrappers
- Create db/posterminal.js wrapper for store methods
- Create routes/posterminal.js with all endpoints:
  - GET /api/posterminal - list terminals
  - PUT /api/posterminal - create terminal (name only, pin randomized)
  - DELETE /api/posterminal/:id - delete terminal
  - PUT/DELETE /api/posterminal/:id/category/:categoryId - toggle category
  - PUT/DELETE /api/posterminal/:id/categories - toggle all categories

Closes #<issue-number>
2026-08-03 06:32:39 +02:00
seb
aed0857f23 u 2026-08-02 19:04:56 +02:00
seb
bfb1d8762a Add unit API and article unitamount/unitSi patch.
Units use the selected company; article PATCH accepts name/unitamount/unitSi.
2026-08-01 06:15:30 +02:00
seb
067503f4ed u 2026-08-01 02:15:29 +02:00
seb
1a05a5b7d6 u 2026-07-31 18:20:54 +02:00
seb
db8b192094 u 2026-07-31 05:54:13 +02:00