Commit Graph

13 Commits

Author SHA1 Message Date
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
806d077d57 u 2026-07-31 05:21:28 +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